public function SuperfishBlock::defaultConfiguration in Superfish 8
Overrides \Drupal\block\BlockBase::defaultConfiguration().
Overrides SystemMenuBlock::defaultConfiguration
1 call to SuperfishBlock::defaultConfiguration()
- SuperfishBlock::blockForm in src/
Plugin/ Block/ SuperfishBlock.php - Overrides \Drupal\block\BlockBase::blockForm().
File
- src/
Plugin/ Block/ SuperfishBlock.php, line 1566
Class
- SuperfishBlock
- Provides a "Superfish" block.
Namespace
Drupal\superfish\Plugin\BlockCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'level' => 1,
'depth' => 0,
'menu_type' => 'horizontal',
'style' => 'none',
'arrow' => 1,
'shadow' => 1,
'speed' => 'fast',
'delay' => 800,
'slide' => 'vertical',
'supposition' => 1,
'hoverintent' => 1,
'touch' => 0,
'touchbh' => 2,
'touchbp' => 768,
'touchua' => 0,
'touchual' => '',
'touchuam' => 0,
'small' => 2,
'smallbp' => 768,
'smallua' => 0,
'smallual' => '',
'smalluam' => 0,
'smallact' => 1,
'smallset' => '',
'smallasa' => 0,
'smallcmc' => 0,
'smallecm' => '',
'smallchc' => 0,
'smallech' => '',
'smallicm' => '',
'smallich' => '',
'smallamt' => '',
'smallabt' => 1,
'supersubs' => 1,
'minwidth' => 12,
'maxwidth' => 27,
'multicolumn' => 0,
'multicolumn_depth' => 1,
'multicolumn_levels' => 0,
'pathlevels' => 1,
'expanded' => 0,
'clone_parent' => 0,
'hide_linkdescription' => 0,
'add_linkdescription' => 0,
'link_depth_class' => 1,
'custom_list_class' => '',
'custom_item_class' => '',
'custom_link_class' => '',
];
}