You are here

public function FlowListBuilder::__construct in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 src/Controller/FlowListBuilder.php \Drupal\cms_content_sync\Controller\FlowListBuilder::__construct()
  2. 2.0.x src/Controller/FlowListBuilder.php \Drupal\cms_content_sync\Controller\FlowListBuilder::__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/FlowListBuilder.php, line 31

Class

FlowListBuilder
Provides a listing of Flow.

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;
}