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; }
Please login to continue.