class RouteSubscriber in Background Process 8
Listens to dynamic route events.
Hierarchy
- class \Drupal\Core\Routing\RouteSubscriberBase implements \Symfony\Component\EventDispatcher\EventSubscriberInterface
- class \Drupal\background_batch\Routing\RouteSubscriber
Expanded class hierarchy of RouteSubscriber
File
- background_batch/
src/ Routing/ RouteSubscriber.php, line 11
Namespace
Drupal\background_batch\RoutingView source
class RouteSubscriber extends RouteSubscriberBase {
/**
* Implements to Alter Dynamic Routes.
*/
public function alterRoutes(RouteCollection $collection) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RouteSubscriber:: |
public | function |
Implements to Alter Dynamic Routes. Overrides RouteSubscriberBase:: |
|
RouteSubscriberBase:: |
public static | function | Returns an array of event names this subscriber wants to listen to. | 5 |
RouteSubscriberBase:: |
public | function | Delegates the route altering to self::alterRoutes(). | 1 |