You are here

public function ViewsAddButtonField::query in Views Add Button 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/views/field/ViewsAddButtonField.php \Drupal\views_add_button\Plugin\views\field\ViewsAddButtonField::query()

Called to add the field to a query.

Overrides FieldPluginBase::query

File

src/Plugin/views/field/ViewsAddButtonField.php, line 28

Class

ViewsAddButtonField
Defines a views field plugin.

Namespace

Drupal\views_add_button\Plugin\views\field

Code

public function query() {

  // Leave empty to avoid a query on this field.
}