public function LdapAttribute::query in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 ldap_query/src/Plugin/views/argument/LdapAttribute.php \Drupal\ldap_query\Plugin\views\argument\LdapAttribute::query()
Set up the query for this argument.
The argument sent may be found at $this->argument.
Overrides ArgumentPluginBase::query
1 call to LdapAttribute::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/ argument/ LdapAttribute.php, line 19
Class
- LdapAttribute
- LDAP Attribute Views Argument.
Namespace
Drupal\ldap_query\Plugin\views\argumentCode
public function query($group_by = FALSE) {
parent::query($group_by);
$this->query
->addWhere(0, $this->realField, $this->argument, '=');
}