You are here

protected function EntityReference::defineOptions in Drupal 10

Same name in this branch
  1. 10 core/modules/views/src/Plugin/views/style/EntityReference.php \Drupal\views\Plugin\views\style\EntityReference::defineOptions()
  2. 10 core/modules/views/src/Plugin/views/row/EntityReference.php \Drupal\views\Plugin\views\row\EntityReference::defineOptions()
Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/row/EntityReference.php \Drupal\views\Plugin\views\row\EntityReference::defineOptions()
  2. 9 core/modules/views/src/Plugin/views/row/EntityReference.php \Drupal\views\Plugin\views\row\EntityReference::defineOptions()

Overrides Fields::defineOptions

File

core/modules/views/src/Plugin/views/row/EntityReference.php, line 26

Class

EntityReference
EntityReference row plugin.

Namespace

Drupal\views\Plugin\views\row

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['separator'] = [
    'default' => '-',
  ];
  return $options;
}