You are here

public function AdminThemeAdminContext::__construct in Administration theme 8

AdminThemeAdminContext constructor.

Parameters

\Drupal\Core\Routing\AdminContext $subject: The decorated admin context service.

\Drupal\Core\Executable\ExecutableManagerInterface $condition_manager: The condition manager.

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

Overrides AdminContext::__construct

File

src/Routing/AdminThemeAdminContext.php, line 49

Class

AdminThemeAdminContext
Decorates the core AdminContext to check custom admin paths.

Namespace

Drupal\admin_theme\Routing

Code

public function __construct(AdminContext $subject, ExecutableManagerInterface $condition_manager, ConfigFactoryInterface $config_factory) {
  $this->subject = $subject;
  $this->conditionManager = $condition_manager;
  $this->configFactory = $config_factory;
}