public function PoolListBuilder::__construct in CMS Content Sync 2.0.x
Same name and namespace in other branches
- 8 src/Controller/PoolListBuilder.php \Drupal\cms_content_sync\Controller\PoolListBuilder::__construct()
- 2.1.x src/Controller/PoolListBuilder.php \Drupal\cms_content_sync\Controller\PoolListBuilder::__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
\Drupal\Core\State\MessengerInterface $messenger: The core messenger interface
Overrides EntityListBuilder::__construct
File
- src/
Controller/ PoolListBuilder.php, line 33
Class
- PoolListBuilder
- Provides a listing of Pool.
Namespace
Drupal\cms_content_sync\ControllerCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ConfigFactoryInterface $config_factory, MessengerInterface $messenger) {
parent::__construct($entity_type, $storage);
$this->configFactory = $config_factory;
$this->messenger = $messenger;
}