public function EntityFieldExport::defineOptions in REST Views 8
Same name and namespace in other branches
- 2.0.x src/Plugin/views/field/EntityFieldExport.php \Drupal\rest_views\Plugin\views\field\EntityFieldExport::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 EntityField::defineOptions
File
- src/
Plugin/ views/ field/ EntityFieldExport.php, line 79
Class
- EntityFieldExport
- Display entity field data in a serialized display.
Namespace
Drupal\rest_views\Plugin\views\fieldCode
public function defineOptions() {
$options = parent::defineOptions();
unset($options['multi_type'], $options['separator']);
return $options;
}