public function ConfigSplitEntityListBuilder::__construct in Configuration Split 8
Same name and namespace in other branches
- 2.0.x src/ConfigSplitEntityListBuilder.php \Drupal\config_split\ConfigSplitEntityListBuilder::__construct()
Constructs a new EntityListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
Overrides EntityListBuilder::__construct
File
- src/
ConfigSplitEntityListBuilder.php, line 45
Class
- ConfigSplitEntityListBuilder
- Provides a listing of Configuration Split setting entities.
Namespace
Drupal\config_splitCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ConfigFactoryInterface $config_factory) {
parent::__construct($entity_type, $storage);
$this->configFactory = $config_factory;
}