You are here

protected function DataFieldRow::defineOptions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/rest/src/Plugin/views/row/DataFieldRow.php \Drupal\rest\Plugin\views\row\DataFieldRow::defineOptions()
  2. 9 core/modules/rest/src/Plugin/views/row/DataFieldRow.php \Drupal\rest\Plugin\views\row\DataFieldRow::defineOptions()

File

core/modules/rest/src/Plugin/views/row/DataFieldRow.php, line 62

Class

DataFieldRow
Plugin which displays fields as raw data.

Namespace

Drupal\rest\Plugin\views\row

Code

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