protected function DataFieldRow::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/rest/src/Plugin/views/row/DataFieldRow.php \Drupal\rest\Plugin\views\row\DataFieldRow::defineOptions()
- 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\rowCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['field_options'] = [
'default' => [],
];
return $options;
}