You are here

function QueryPluginBase::set_limit in Views (for Drupal 7) 8.3

Set a LIMIT on the query, specifying a maximum number of results.

File

lib/Drupal/views/Plugin/views/query/QueryPluginBase.php, line 104
Definition of Drupal\views\Plugin\views\query\QueryPluginBase.

Class

QueryPluginBase
@todo.

Namespace

Drupal\views\Plugin\views\query

Code

function set_limit($limit) {
  $this->limit = $limit;
}