function RssPluginBase::defineOptions
Same name in other branches
- 9 core/modules/views/src/Plugin/views/row/RssPluginBase.php \Drupal\views\Plugin\views\row\RssPluginBase::defineOptions()
- 8.9.x core/modules/views/src/Plugin/views/row/RssPluginBase.php \Drupal\views\Plugin\views\row\RssPluginBase::defineOptions()
- 11.x core/modules/views/src/Plugin/views/row/RssPluginBase.php \Drupal\views\Plugin\views\row\RssPluginBase::defineOptions()
Overrides RowPluginBase::defineOptions
File
-
core/
modules/ views/ src/ Plugin/ views/ row/ RssPluginBase.php, line 73
Class
- RssPluginBase
- Base class for Views RSS row plugins.
Namespace
Drupal\views\Plugin\views\rowCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['view_mode'] = [
'default' => 'default',
];
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.