You are here

protected function Fields::defineOptions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/row/Fields.php \Drupal\views\Plugin\views\row\Fields::defineOptions()
  2. 9 core/modules/views/src/Plugin/views/row/Fields.php \Drupal\views\Plugin\views\row\Fields::defineOptions()
1 call to Fields::defineOptions()
EntityReference::defineOptions in core/modules/views/src/Plugin/views/row/EntityReference.php
1 method overrides Fields::defineOptions()
EntityReference::defineOptions in core/modules/views/src/Plugin/views/row/EntityReference.php

File

core/modules/views/src/Plugin/views/row/Fields.php, line 32

Class

Fields
The basic 'fields' row plugin.

Namespace

Drupal\views\Plugin\views\row

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['inline'] = [
    'default' => [],
  ];
  $options['separator'] = [
    'default' => '',
  ];
  $options['hide_empty'] = [
    'default' => FALSE,
  ];
  $options['default_field_elements'] = [
    'default' => TRUE,
  ];
  return $options;
}