You are here

public function LdapQuery::alter in Lightweight Directory Access Protocol (LDAP) 8.4

Let modules modify the query just prior to finalizing it.

Parameters

\Drupal\views\ViewExecutable $view: View.

Overrides QueryPluginBase::alter

File

ldap_query/src/Plugin/views/query/LdapQuery.php, line 343

Class

LdapQuery
Views query plugin for an SQL query.

Namespace

Drupal\ldap_query\Plugin\views\query

Code

public function alter(ViewExecutable $view) : void {
  \Drupal::moduleHandler()
    ->invokeAll('views_query_alter', [
    $view,
    $this,
  ]);
}