constant RoutingEvents::DYNAMIC

The DYNAMIC event is fired to allow modules to register additional routes.

Most routes are static, an should be defined as such. Dynamic routes are only those whose existence changes depending on the state of the system at runtime, depending on configuration.

See also

\Drupal\Core\Routing\RouteBuildEvent

File

drupal/core/lib/Drupal/Core/Routing/RoutingEvents.php, line 37
Definition of \Drupal\Core\Routing\RoutingEvents.

Class

RoutingEvents
Contains all events thrown in the core routing component.

Namespace

Drupal\Core\Routing

Code

const DYNAMIC = 'routing.route_dynamic';