public function Broken::buildOptionsForm

Same name in this branch
  1. 9.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/relationship/Broken.php \Drupal\views\Plugin\views\relationship\Broken::buildOptionsForm()
  2. 9.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Broken.php \Drupal\views\Plugin\views\field\Broken::buildOptionsForm()
  3. 9.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/area/Broken.php \Drupal\views\Plugin\views\area\Broken::buildOptionsForm()
  4. 9.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Broken.php \Drupal\views\Plugin\views\argument\Broken::buildOptionsForm()
  5. 9.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/sort/Broken.php \Drupal\views\Plugin\views\sort\Broken::buildOptionsForm()
  6. 9.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/Broken.php \Drupal\views\Plugin\views\filter\Broken::buildOptionsForm()

Basic options for all sort criteria

Overrides SortPluginBase::buildOptionsForm

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/sort/Broken.php, line 30
Definition of Drupal\views\Plugin\views\sort\Broken.

Class

Broken
A special handler to take the place of missing or broken handlers.

Namespace

Drupal\views\Plugin\views\sort

Code

public function buildOptionsForm(&$form, &$form_state) {
  $form['markup'] = array(
    '#markup' => '<div class="form-item description">' . t('The handler for this item is broken or missing and cannot be used. If a module provided the handler and was disabled, re-enabling the module may restore it. Otherwise, you should probably delete this item.') . '</div>',
  );
}