function Serializer::defineOptions
Overrides StylePluginBase::defineOptions
File
- 
              core/
modules/ rest/ src/ Plugin/ views/ style/ Serializer.php, line 87  
Class
- Serializer
 - The style plugin for serialized output formats.
 
Namespace
Drupal\rest\Plugin\views\styleCode
protected function defineOptions() {
  $options = parent::defineOptions();
  $options['formats'] = [
    'default' => [],
  ];
  return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.