You are here

public function ConfigSubscriber::__construct in Menu Item Extras 8.2

Constructs a ConfigSubscriber object.

Parameters

\Drupal\Core\Config\ConfigInstallerInterface $configInstaller: The Config Installer.

File

src/EventSubscriber/ConfigSubscriber.php, line 30

Class

ConfigSubscriber
Provides a ConfigSubscriber that adds a module dependency for all configurations related to the view_mode field on menu_link_content entities during a config export.

Namespace

Drupal\menu_item_extras\EventSubscriber

Code

public function __construct(ConfigInstallerInterface $configInstaller) {
  $this->configInstaller = $configInstaller;
}