- Issue created by @nicxvan
- First commit to issue fork.
- 🇧🇷Brazil julio_retkwa Balneário Camboriú
does that looks like as it should ?
- 🇺🇸United States nicxvan
nicxvan → changed the visibility of the branch 3538669-controllerresolver-should-use to hidden.
- 🇺🇸United States nicxvan
nicxvan → changed the visibility of the branch 3538669-controllerresolver-should-use to active.
- 🇺🇸United States nicxvan
I think it's supposed to be on the branch that was created, not the 11.x.
I'm not sure if that actually causes a problem or not though.
- 🇦🇺Australia mstrelan
I think we should expand the scope to change this everywhere
_controller
is used.The constant is currently used in these places:
\Drupal\jsonapi\Revisions\ResourceVersionRouteEnhancer::enhance
\Drupal\jsonapi\Routing\Routes
\Drupal\Tests\jsonapi\Unit\Routing\RoutesTestShould we update in the following places too:
\Drupal\Core\Controller\ControllerResolver
\Drupal\Core\Controller\ControllerResolverInterface (docs)
\Drupal\Core\Entity\Enhancer\EntityRouteEnhancer
\Drupal\Core\Entity\EntityResolverManager
\Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider
\Drupal\Core\Routing\Enhancer\FormRouteEnhancer
... probably some other places too - 🇺🇸United States nicxvan
Let's take care of all of them and move to the branch the issue created.
- Merge request !12914Resolve #3538669 "Controllerresolver should use" → (Open) created by julio_retkwa
- First commit to issue fork.
- Merge request !12940Issue #3538669: ControllerResolver should use... → (Open) created by neerajsingh
- 🇮🇳India neerajsingh IN 🇮🇳
Raised PR with fixes in the following files:
- core/lib/Drupal/Core/Controller/ControllerResolverInterface.php
- core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php
- core/lib/Drupal/Core/Entity/EntityResolverManager.php
- core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php
- core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php
- core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php