LdapAttribute.php in Lightweight Directory Access Protocol (LDAP) 8.4
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\ldap_query\Plugin\views\argumentFile
ldap_query/src/Plugin/views/argument/LdapAttribute.phpView source
<?php
declare (strict_types=1);
namespace Drupal\ldap_query\Plugin\views\argument;
use Drupal\views\Plugin\views\argument\ArgumentPluginBase;
/**
* LDAP Attribute Views Argument.
*
* @ingroup views_argument_handlers
*
* @ViewsArgument("ldap_attribute")
*/
class LdapAttribute extends ArgumentPluginBase {
/**
* {@inheritdoc}
*/
public function query($group_by = FALSE) : void {
$this
->ensureMyTable();
$this->query
->addWhere(0, $this->realField, $this->argument, '=');
}
}
Classes
Name | Description |
---|---|
LdapAttribute | LDAP Attribute Views Argument. |