You are here

public function SplitFilterDeriver::__construct in Configuration Split 8

SplitFilter constructor.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage to load the split entities from.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory to load the configuration including overrides from.

File

src/Plugin/ConfigFilter/SplitFilterDeriver.php, line 40

Class

SplitFilterDeriver
Provides block plugin definitions for custom menus.

Namespace

Drupal\config_split\Plugin\ConfigFilter

Code

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