public function HierarchicalTaxonomyMenuBlock::defaultConfiguration in Hierarchical Taxonomy Menu 8
Overrides BlockPluginTrait::defaultConfiguration
File
- src/
Plugin/ Block/ HierarchicalTaxonomyMenuBlock.php, line 156
Class
- HierarchicalTaxonomyMenuBlock
- Provides a 'HierarchicalTaxonomyMenuBlock' block.
Namespace
Drupal\hierarchical_taxonomy_menu\Plugin\BlockCode
public function defaultConfiguration() {
return [
'vocabulary' => '',
'max_depth' => 100,
'dynamic_block_title' => FALSE,
'collapsible' => FALSE,
'stay_open' => FALSE,
'interactive_parent' => FALSE,
'hide_block' => FALSE,
'use_image_style' => FALSE,
'image_height' => 16,
'image_width' => 16,
'image_style' => '',
'max_age' => 0,
'base_term' => '',
'dynamic_base_term' => FALSE,
'show_count' => '0',
'referencing_field' => '_none',
'calculate_count_recursively' => FALSE,
];
}