ViewExecutable::$sort

Same name in other branches
  1. 9 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::sort
  2. 10 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::sort
  3. 11.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::sort

Stores the sort handlers which are initialized on this view.

Type: \Drupal\views\Plugin\views\sort\SortPluginBase[]

File

core/modules/views/src/ViewExecutable.php, line 280

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public $sort;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.