You are here

public function BulkForm::query in Drupal 9

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

Called to add the field to a query.

Overrides FieldPluginBase::query

File

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

Class

BulkForm
Defines an actions-based bulk operation form element.

Namespace

Drupal\views\Plugin\views\field

Code

public function query() {
  if ($this->languageManager
    ->isMultilingual()) {
    $this
      ->getEntityTranslationRenderer()
      ->query($this->query, $this->relationship);
  }
}