title: Link to some action of a different CRUD controller
body: <p>Is there any workaround to link a new action, in a CRUD controller made with <code>EasyAdmin 4.x </code>, to an action in another CRUD controller with which it has a OneToMany relation ?</p>
  <pre><code>class FirstEntityCrudController extends AbstractCrudController
  {
  ...
  public function configureActions(Actions $actions): Actions
  {
      return $actions
          -&gt;add(Crud::PAGE_INDEX, Action::new('add-second-entity','Add a second entity')
          -&gt;linkToCrudAction(Action::NEW ???)
  
              )
          ;
      }
  }
  </code></pre>
  <p><a href="https://symfony.com/bundles/EasyAdminBundle/current/actions.html" rel="nofollow noreferrer">The docs</a> say that I can use:</p>
  <blockquote>
  <p>linkToCrudAction(): to execute some method of the current CRUD controller;</p>
  </blockquote>
  <p>But there seems to be no indication on how to &quot;execute some method of <strong>a different</strong> CRUD controller&quot;.</p>
  <p>Note:
  There is a sneaky way around it but it doesn't seem healthy :</p>
  <pre><code>   -&gt;linkToUrl('the url to the desired action')
                  
  </code></pre>
  <p>Using:</p>
  <ul>
  <li>PHP 8.1</li>
  <li>Symfony 5.4</li>
  <li>EasyAdmin 4.x</li>
  </ul>