function views_plugin_query_default::alter

Let modules modify the query just prior to finalizing it.

Overrides views_plugin_query::alter

File

plugins/views_plugin_query_default.inc, line 1440

Class

views_plugin_query_default
Object used to create a SELECT query.

Code

public function alter(&$view) {
    foreach (module_implements('views_query_alter') as $module) {
        $function = $module . '_views_query_alter';
        $function($view, $this);
    }
}