function Fields::defineOptions
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/row/Fields.php \Drupal\views\Plugin\views\row\Fields::defineOptions()
- 10 core/modules/views/src/Plugin/views/row/Fields.php \Drupal\views\Plugin\views\row\Fields::defineOptions()
- 11.x core/modules/views/src/Plugin/views/row/Fields.php \Drupal\views\Plugin\views\row\Fields::defineOptions()
Overrides RowPluginBase::defineOptions
1 call to Fields::defineOptions()
- EntityReference::defineOptions in core/
modules/ views/ src/ Plugin/ views/ row/ EntityReference.php - Information about options for all kinds of purposes will be held here.
1 method overrides Fields::defineOptions()
- EntityReference::defineOptions in core/
modules/ views/ src/ Plugin/ views/ row/ EntityReference.php - Information about options for all kinds of purposes will be held here.
File
-
core/
modules/ views/ src/ Plugin/ views/ row/ Fields.php, line 32
Class
- Fields
- The basic 'fields' row plugin.
Namespace
Drupal\views\Plugin\views\rowCode
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.