public function FlagListsService::__construct in Flag Lists 4.0.x
Same name and namespace in other branches
- 8 src/FlagListsService.php \Drupal\flag_lists\FlagListsService::__construct()
Constructor.
Parameters
Drupal\Core\Session\AccountInterface $current_user: The current user.
Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
File
- src/
FlagListsService.php, line 40
Class
- FlagListsService
- Class FlagForList service.
Namespace
Drupal\flag_listsCode
public function __construct(AccountInterface $current_user, EntityTypeManagerInterface $entity_type_manager) {
$this->currentUser = $current_user;
$this->entityTypeManager = $entity_type_manager;
}