You are here

function Sql::add_tag in Views (for Drupal 7) 8.3

Adds a query tag to the sql object.

See also

SelectQuery::addTag()

File

lib/Drupal/views/Plugin/views/query/Sql.php, line 1055
Definition of Drupal\views\Plugin\views\query\Sql.

Class

Sql
@todo.

Namespace

Drupal\views\Plugin\views\query

Code

function add_tag($tag) {
  $this->tags[] = $tag;
}