You are here

public function LBATAdminNegotiator::__construct in Layout builder admin theme 8

Layout Builder Admin Theme - Admin Negotiator constructor.

Parameters

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

File

src/Theme/LBATAdminNegotiator.php, line 29

Class

LBATAdminNegotiator
Forces the admin theme when using layout builder.

Namespace

Drupal\layout_builder_admin_theme\Theme

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
}