function OpmlFields::defineOptions
Same name in other branches
- 9 core/modules/views/src/Plugin/views/row/OpmlFields.php \Drupal\views\Plugin\views\row\OpmlFields::defineOptions()
- 8.9.x core/modules/views/src/Plugin/views/row/OpmlFields.php \Drupal\views\Plugin\views\row\OpmlFields::defineOptions()
- 10 core/modules/views/src/Plugin/views/row/OpmlFields.php \Drupal\views\Plugin\views\row\OpmlFields::defineOptions()
Overrides RowPluginBase::defineOptions
File
-
core/
modules/ views/ src/ Plugin/ views/ row/ OpmlFields.php, line 31
Class
- OpmlFields
- Renders an OPML item based on fields.
Namespace
Drupal\views\Plugin\views\rowCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['text_field'] = [
'default' => '',
];
$options['created_field'] = [
'default' => '',
];
$options['type_field'] = [
'default' => '',
];
$options['description_field'] = [
'default' => '',
];
$options['html_url_field'] = [
'default' => '',
];
$options['language_field'] = [
'default' => '',
];
$options['xml_url_field'] = [
'default' => '',
];
$options['url_field'] = [
'default' => '',
];
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.