public function FlagListsPermissionHandler::__construct in Flag Lists 4.0.x
Constructs a new PermissionHandler.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation.
\Drupal\Core\Controller\ControllerResolverInterface $controller_resolver: The controller resolver.
\Drupal\flag_lists\FlagListsServiceInterface $flag_lists_service: The Flag Lists Service.
Overrides PermissionHandler::__construct
File
- src/
Permissions/ FlagListsPermissionHandler.php, line 38
Class
Namespace
Drupal\flag_lists\PermissionsCode
public function __construct(ModuleHandlerInterface $module_handler, TranslationInterface $string_translation, ControllerResolverInterface $controller_resolver, FlagListsServiceInterface $flag_lists_service) {
parent::__construct($module_handler, $string_translation, $controller_resolver);
$this->flagListsService = $flag_lists_service;
}