You are here

public function PoolListBuilder::__construct in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Controller/PoolListBuilder.php \Drupal\cms_content_sync\Controller\PoolListBuilder::__construct()
  2. 2.0.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

Overrides EntityListBuilder::__construct

File

src/Controller/PoolListBuilder.php, line 28

Class

PoolListBuilder
Provides a listing of Pool.

Namespace

Drupal\cms_content_sync\Controller

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ConfigFactoryInterface $config_factory) {
  parent::__construct($entity_type, $storage);
  $this->configFactory = $config_factory;
}