public function FlagListsActionsActionListBuilder::__construct in Flag Lists 4.0.x
Constructs a new ActionListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The action storage.
\Drupal\Core\Action\ActionManager $action_manager: The action plugin manager.
\Drupal\flag_lists\FlagListsServiceInterface $flag_lists_service: The Flag Lists service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Config Factory.
Overrides ActionListBuilder::__construct
File
- modules/
flag_lists_actions/ src/ FlagListsActionsActionListBuilder.php, line 43
Class
- FlagListsActionsActionListBuilder
- Defines a class to build a listing of action entities.
Namespace
Drupal\flag_lists_actionsCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, ActionManager $action_manager, FlagListsServiceInterface $flag_lists_service, ConfigFactoryInterface $config_factory) {
parent::__construct($entity_type, $storage, $action_manager);
$this->flagListsService = $flag_lists_service;
$this->configFactory = $config_factory;
}