You are here

public function VariableAttributeCustomization::query in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 ldap_query/src/Plugin/views/VariableAttributeCustomization.php \Drupal\ldap_query\Plugin\views\VariableAttributeCustomization::query()

Called to add the field to a query.

2 methods override VariableAttributeCustomization::query()
LdapVariableAttribute::query in ldap_query/src/Plugin/views/filter/LdapVariableAttribute.php
Adjust the query.
LdapVariableAttribute::query in ldap_query/src/Plugin/views/argument/LdapVariableAttribute.php
Called to add the field to a query.

File

ldap_query/src/Plugin/views/VariableAttributeCustomization.php, line 52

Class

VariableAttributeCustomization
Collates the variable attribute customization to apply it to more than one.

Namespace

Drupal\ldap_query\Plugin\views

Code

public function query() {
  $this->realField = $this->options['attribute_name'];
  parent::query();
}