protected function ViewsBlogspotArchive::defineOptions in Views Blogspot Archive 8
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 StylePluginBase::defineOptions
File
- src/
Plugin/ views/ style/ ViewsBlogspotArchive.php, line 54
Class
- ViewsBlogspotArchive
- The style plugin for views_blogspot_archive.
Namespace
Drupal\views_blogspot_archive\Plugin\views\styleCode
protected function defineOptions() {
$options = parent::defineOptions();
// Define options.
$options['vba_field_name'] = array(
'default' => '',
);
$options['vba_view_name'] = array(
'default' => FALSE,
);
$options['vba_use_result_page'] = array(
'default' => FALSE,
);
return $options;
}