You are here

public function XmlFieldHelperTrait::query in Views XML Backend 8

Called to add the field to a query.

File

src/Plugin/views/field/XmlFieldHelperTrait.php, line 30
Contains \Drupal\views_xml_backend\Plugin\views\field\XmlFieldHelperTrait.

Class

XmlFieldHelperTrait
A handler to provide an XML text field.

Namespace

Drupal\views_xml_backend\Plugin\views\field

Code

public function query() {
  $this->field_alias = $this->options['id'];
}