You are here

public function FlagListsFlagListBuilder::__construct in Flag Lists 4.0.x

Constructor.

Parameters

Drupal\Core\Config\Entity\ConfigEntityType $entity_type: The entity type involved.

Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage.

Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

Drupal\flag_lists\FlagListsService $flag_lists_service: The Flag Lists Service.

File

src/FlagListsFlagListBuilder.php, line 66

Class

FlagListsFlagListBuilder
Defines a class to build an enhanced listing of Flag entities.

Namespace

Drupal\flag_lists

Code

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