function DataFieldRow::defineOptions
Same name in other branches
- 9 core/modules/rest/src/Plugin/views/row/DataFieldRow.php \Drupal\rest\Plugin\views\row\DataFieldRow::defineOptions()
- 8.9.x core/modules/rest/src/Plugin/views/row/DataFieldRow.php \Drupal\rest\Plugin\views\row\DataFieldRow::defineOptions()
- 10 core/modules/rest/src/Plugin/views/row/DataFieldRow.php \Drupal\rest\Plugin\views\row\DataFieldRow::defineOptions()
Overrides RowPluginBase::defineOptions
File
-
core/
modules/ rest/ src/ Plugin/ views/ row/ DataFieldRow.php, line 63
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.