You are here

public static function RouteSubscriber::create in Multiple Registration 8.2

Same name and namespace in other branches
  1. 8 src/Routing/RouteSubscriber.php \Drupal\multiple_registration\Routing\RouteSubscriber::create()
  2. 3.x src/Routing/RouteSubscriber.php \Drupal\multiple_registration\Routing\RouteSubscriber::create()

File

src/Routing/RouteSubscriber.php, line 35

Class

RouteSubscriber
Listens to the dynamic route events.

Namespace

Drupal\multiple_registration\Routing

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('config.factory'));
}