Constructs a ConfigStorageController object.
string $entity_type: The entity type for which the instance is created.
array $entity_info: An array of entity info for the entity type.
\Drupal\Core\Config\ConfigFactory $config_factory: The config factory service.
\Drupal\Core\Config\StorageInterface $config_storage: The config storage service.
Overrides EntityStorageControllerBase::__construct
public function __construct($entity_type, array $entity_info, ConfigFactory $config_factory, StorageInterface $config_storage) {
parent::__construct($entity_type, $entity_info);
$this->idKey = $this->entityInfo['entity_keys']['id'];
if (isset($this->entityInfo['entity_keys']['status'])) {
$this->statusKey = $this->entityInfo['entity_keys']['status'];
}
else {
$this->statusKey = FALSE;
}
$this->configFactory = $config_factory;
$this->configStorage = $config_storage;
}