NodeAdminRouteSubscriber::__construct

public NodeAdminRouteSubscriber::__construct(ConfigFactoryInterface $config_factory)

Constructs a new NodeAdminRouteSubscriber.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php, line 27

Class

NodeAdminRouteSubscriber
Sets the _admin_route for specific node-related routes.

Namespace

Drupal\node\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
}
doc_Drupal
2016-10-29 09:30:35
Comments
Leave a Comment

Please login to continue.