- 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
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... → (Closed) 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
The Needs Review Queue Bot → tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- First commit to issue fork.
- 🇪🇸Spain luismagr
I've updated the fork with upstream. Let see what the bot says now