function QueryPluginBase::set_limit

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

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php, line 106
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;
}