You are here

public function ConfigSorter::__construct in Configuration Split 2.0.x

ConfigCaster constructor.

Parameters

\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The typed config manager to look up the schema.

\Drupal\Core\Config\StorageInterface $active: The active storage to help with the sorting.

File

src/Config/ConfigSorter.php, line 38

Class

ConfigSorter
The config sorter service core should have had.

Namespace

Drupal\config_split\Config

Code

public function __construct(TypedConfigManagerInterface $typedConfigManager, StorageInterface $active) {
  $this->typedConfigManager = $typedConfigManager;
  $this->active = $active;
}