public function RoleDelegationUserBulkForm::__construct in Role Delegation 8
Constructs a new BulkForm object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
Overrides BulkForm::__construct
File
- src/
Plugin/ views/ field/ RoleDelegationUserBulkForm.php, line 32
Class
- RoleDelegationUserBulkForm
- Defines a user operations bulk form element.
Namespace
Drupal\role_delegation\Plugin\views\fieldCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager, MessengerInterface $messenger, EntityRepositoryInterface $entity_repository, AccountInterface $currentUser) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $language_manager, $messenger, $entity_repository);
$this->currentUser = $currentUser;
}