public function LdapAttribute::query in Lightweight Directory Access Protocol (LDAP) 8.4
Same name and namespace in other branches
- 8.3 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
File
- ldap_query/
src/ Plugin/ views/ argument/ LdapAttribute.php, line 21
Class
- LdapAttribute
- LDAP Attribute Views Argument.
Namespace
Drupal\ldap_query\Plugin\views\argumentCode
public function query($group_by = FALSE) : void {
$this
->ensureMyTable();
$this->query
->addWhere(0, $this->realField, $this->argument, '=');
}