protected function Fields::defineOptions in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/row/Fields.php \Drupal\views\Plugin\views\row\Fields::defineOptions()
Information about options for all kinds of purposes will be held here.
'option_name' => array(
- 'default' => default value,
- 'contains' => (optional) array of items this contains, with its own
defaults, etc. If contains is set, the default will be ignored and
assumed to be array().
),
Return value
array Returns the options of this handler/plugin.
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 37 - Contains \Drupal\views\Plugin\views\row\Fields.
Class
- Fields
- The basic 'fields' row plugin
Namespace
Drupal\views\Plugin\views\rowCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['inline'] = array(
'default' => array(),
);
$options['separator'] = array(
'default' => '',
);
$options['hide_empty'] = array(
'default' => FALSE,
);
$options['default_field_elements'] = array(
'default' => TRUE,
);
return $options;
}