public function Random::buildOptionsForm in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/sort/Random.php \Drupal\views\Plugin\views\sort\Random::buildOptionsForm()
- 10 core/modules/views/src/Plugin/views/sort/Random.php \Drupal\views\Plugin\views\sort\Random::buildOptionsForm()
Basic options for all sort criteria
Overrides SortPluginBase::buildOptionsForm
File
- core/
modules/ views/ src/ Plugin/ views/ sort/ Random.php, line 29
Class
- Random
- Handle a random sort.
Namespace
Drupal\views\Plugin\views\sortCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
$form['order']['#access'] = FALSE;
}