Search for enhance

  1. Search 7.x for enhance
  2. Search 8.9.x for enhance
  3. Search 10.3.x for enhance
  4. Search 11.x for enhance
  5. Other projects
Title Object type File name Summary
EnhancerInterface interface core/lib/Drupal/Core/Routing/EnhancerInterface.php A route enhance service to determine route enhance rules.
EnhancerInterface.php file core/lib/Drupal/Core/Routing/EnhancerInterface.php
EnhancerInterface::enhance function core/lib/Drupal/Core/Routing/EnhancerInterface.php Updates the defaults for a route definition based on the request.
EntityBundleRouteEnhancer class core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php Sets the bundle parameter for routes with the _field_ui option.
EntityBundleRouteEnhancer.php file core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php
EntityBundleRouteEnhancer::$entityTypeManager property core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php The entity type manager service.
EntityBundleRouteEnhancer::applies function core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php
EntityBundleRouteEnhancer::enhance function core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php Updates the defaults for a route definition based on the request.
EntityBundleRouteEnhancer::__construct function core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php Constructs a EntityBundleRouteEnhancer object.
EntityRevisionRouteEnhancer class core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php Adds _entity_revision to the request attributes, if possible.
EntityRevisionRouteEnhancer.php file core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php
EntityRevisionRouteEnhancer::applies function core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php Returns whether the enhancer runs on the current route.
EntityRevisionRouteEnhancer::enhance function core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php Updates the defaults for a route definition based on the request.
EntityRevisionRouteEnhancerTest class core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @coversDefaultClass \Drupal\Core\Routing\Enhancer\EntityRevisionRouteEnhancer
@group Entity
EntityRevisionRouteEnhancerTest.php file core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
EntityRevisionRouteEnhancerTest::$routeEnhancer property core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
EntityRevisionRouteEnhancerTest::setUp function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php
EntityRevisionRouteEnhancerTest::testEnhanceWithEntityRevision function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @covers ::enhance
EntityRevisionRouteEnhancerTest::testEnhanceWithoutEntityRevision function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @covers ::enhance
EntityRevisionRouteEnhancerTest::testEnhanceWithoutParameter function core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @covers ::enhance
EntityRouteEnhancer class core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php Enhances an entity form route with the appropriate controller.
EntityRouteEnhancer.php file core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php
EntityRouteEnhancer::applies function core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php Returns whether the enhancer runs on the current route.
EntityRouteEnhancer::enhance function core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php Updates the defaults for a route definition based on the request.
EntityRouteEnhancer::enhanceEntityForm function core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php Update defaults for entity forms.
EntityRouteEnhancer::enhanceEntityList function core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php Update defaults for an entity list.
EntityRouteEnhancer::enhanceEntityView function core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php Update defaults for an entity view.
EntityRouteEnhancerTest class core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php @coversDefaultClass \Drupal\Core\Entity\Enhancer\EntityRouteEnhancer
@group Entity
EntityRouteEnhancerTest.php file core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php
EntityRouteEnhancerTest::testEnhancer function core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php Tests the enhancer method.
FieldUiRouteEnhancer class core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php Enhances Field UI routes by adding proper information about the bundle name.
FieldUiRouteEnhancer.php file core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php
FieldUiRouteEnhancerTest class core/modules/field_ui/tests/src/Unit/FieldUiRouteEnhancerTest.php @coversDefaultClass \Drupal\field_ui\Routing\FieldUiRouteEnhancer
FieldUiRouteEnhancerTest class core/modules/field_ui/tests/src/Kernel/FieldUiRouteEnhancerTest.php Tests that the service "field_ui.route_enhancer" has been deprecated.
FieldUiRouteEnhancerTest.php file core/modules/field_ui/tests/src/Unit/FieldUiRouteEnhancerTest.php
FieldUiRouteEnhancerTest.php file core/modules/field_ui/tests/src/Kernel/FieldUiRouteEnhancerTest.php
FieldUiRouteEnhancerTest::$modules property core/modules/field_ui/tests/src/Kernel/FieldUiRouteEnhancerTest.php Modules to install.
FieldUiRouteEnhancerTest::testDeprecation function core/modules/field_ui/tests/src/Unit/FieldUiRouteEnhancerTest.php Tests deprecation of the Drupal\field_ui\Routing\FieldUiRouteEnhancer.
FieldUiRouteEnhancerTest::testFieldUiRouteEnhancerDeprecation function core/modules/field_ui/tests/src/Kernel/FieldUiRouteEnhancerTest.php Tests deprecation of the "field_ui.route_enhancer" service.
field_ui.route_enhancer service core/modules/field_ui/field_ui.services.yml Drupal\Core\Entity\Enhancer\EntityBundleRouteEnhancer
FormRouteEnhancer class core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php Enhancer to add a wrapping controller for _form routes.
FormRouteEnhancer.php file core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php
FormRouteEnhancer::applies function core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php Returns whether the enhancer runs on the current route.
FormRouteEnhancer::enhance function core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php Updates the defaults for a route definition based on the request.
jsonapi.resource_version.route_enhancer service core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Revisions\ResourceVersionRouteEnhancer
jsonapi.route_enhancer service core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Routing\RouteEnhancer
LayoutTempstoreRouteEnhancer class core/modules/layout_builder/src/Routing/LayoutTempstoreRouteEnhancer.php Loads the section storage from the layout tempstore.
LayoutTempstoreRouteEnhancer.php file core/modules/layout_builder/src/Routing/LayoutTempstoreRouteEnhancer.php
LayoutTempstoreRouteEnhancer::$layoutTempstoreRepository property core/modules/layout_builder/src/Routing/LayoutTempstoreRouteEnhancer.php The layout tempstore repository.
LayoutTempstoreRouteEnhancer::enhance function core/modules/layout_builder/src/Routing/LayoutTempstoreRouteEnhancer.php Updates the defaults for a route definition based on the request.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.