public function Broken::buildOptionsForm

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

Default options form that provides the label widget that all fields should have.

Overrides AreaPluginBase::buildOptionsForm

File

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

Class

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

Namespace

Drupal\views\Plugin\views\area

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>',
  );
}