public function LogAdminRouteSubscriber::__construct in Log entity 8
Constructs a new LogAdminRouteSubscriber.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- src/
EventSubscriber/ LogAdminRouteSubscriber.php, line 32 - Contains \Drupal\log\EventSubscriber\LogAdminRouteSubscriber.
Class
- LogAdminRouteSubscriber
- Sets the _admin_route for specific log-related routes.
Namespace
Drupal\log\EventSubscriberCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}