You are here

public function Random::buildOptionsForm in Views (for Drupal 7) 8.3

Basic options for all sort criteria

Overrides SortPluginBase::buildOptionsForm

File

lib/Drupal/views/Plugin/views/sort/Random.php, line 25
Definition of Drupal\views\Plugin\views\sort\Random.

Class

Random
Handle a random sort.

Namespace

Drupal\views\Plugin\views\sort

Code

public function buildOptionsForm(&$form, &$form_state) {
  parent::buildOptionsForm($form, $form_state);
  $form['order']['#access'] = FALSE;
}