RouterBuiltEvent.php in Drupal 7 to 8/9 Module Upgrader 8
File
src/Routing/RouterBuiltEvent.php
View source
<?php
namespace Drupal\drupalmoduleupgrader\Routing;
use Symfony\Component\EventDispatcher\Event;
class RouterBuiltEvent extends Event {
protected $router;
public function __construct(RouterInterface $router) {
$this->router = $router;
}
public function getRouter() {
return $this->router;
}
}
Classes
Name |
Description |
RouterBuiltEvent |
Event object fired when all routes have been added to a RouterInterface
implementation. |