You are here

public static function BulkForm::create in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/field/BulkForm.php \Drupal\views\Plugin\views\field\BulkForm::create()
  2. 9 core/modules/views/src/Plugin/views/field/BulkForm.php \Drupal\views\Plugin\views\field\BulkForm::create()

File

core/modules/views/src/Plugin/views/field/BulkForm.php, line 108

Class

BulkForm
Defines an actions-based bulk operation form element.

Namespace

Drupal\views\Plugin\views\field

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('entity_type.manager'), $container
    ->get('language_manager'), $container
    ->get('messenger'), $container
    ->get('entity.repository'));
}