public function ViewsAddButtonField::query in Views Add Button 8
Same name and namespace in other branches
- 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\fieldCode
public function query() {
// Leave empty to avoid a query on this field.
}