protected function ViewsBlockArea::defineOptions in Views block area 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 AreaPluginBase::defineOptions
File
- src/
Plugin/ views/ area/ ViewsBlockArea.php, line 71 - Contains \Drupal\block\Plugin\views\area\Block.
Class
- ViewsBlockArea
- Provides an area handler which renders a block entity in a certain view mode.
Namespace
Drupal\views_block_area\Plugin\views\areaCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['block_id'] = [
'default' => NULL,
];
return $options;
}