Constructs a new BulkForm object.
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
array $plugin_definition: The plugin implementation definition.
\Drupal\Core\Entity\EntityManager $manager: The entity manager.
Overrides BulkFormBase::__construct
public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityManager $manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $manager);
// Filter the actions to only include those for the 'user' entity type.
$this->actions = array_filter($this->actions, function ($action) {
return $action
->getType() == 'user';
});
}