public function Broken::defineOptions

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::defineOptions()
  2. 8.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Broken.php \Drupal\views\Plugin\views\field\Broken::defineOptions()
  3. 8.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/area/Broken.php \Drupal\views\Plugin\views\area\Broken::defineOptions()
  4. 8.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Broken.php \Drupal\views\Plugin\views\argument\Broken::defineOptions()
  5. 8.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/sort/Broken.php \Drupal\views\Plugin\views\sort\Broken::defineOptions()
  6. 8.x drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/Broken.php \Drupal\views\Plugin\views\filter\Broken::defineOptions()

Information about options for all kinds of purposes will be held here. @code 'option_name' => array(

  • 'default' => default value,
  • 'translatable' => (optional) TRUE/FALSE (wrap in t() on export if true),
  • 'contains' => (optional) array of items this contains, with its own defaults, etc. If contains is set, the default will be ignored and assumed to be array().
  • 'bool' => (optional) TRUE/FALSE Is the value a boolean value. This will change the export format to TRUE/FALSE instead of 1/0.

),

Return value

array Returns the options of this handler/plugin.

Overrides RelationshipPluginBase::defineOptions

File

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

Class

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

Namespace

Drupal\views\Plugin\views\relationship

Code

public function defineOptions() {
  return array();
}