public function SidrTrigger::defaultConfiguration in Sidr: Accessible Mobile Menus 8.3
Same name and namespace in other branches
- 8 src/Plugin/Block/SidrTrigger.php \Drupal\sidr\Plugin\Block\SidrTrigger::defaultConfiguration()
- 8.2 src/Plugin/Block/SidrTrigger.php \Drupal\sidr\Plugin\Block\SidrTrigger::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
1 call to SidrTrigger::defaultConfiguration()
- SidrTrigger::blockSubmit in src/
Plugin/ Block/ SidrTrigger.php
File
- src/
Plugin/ Block/ SidrTrigger.php, line 50
Class
- SidrTrigger
- Provides a trigger button with Sidr integration.
Namespace
Drupal\sidr\Plugin\BlockCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'trigger_text' => '',
'trigger_icon' => '',
'sidr_name' => '',
'sidr_source' => '',
'sidr_side' => 'left',
'sidr_renaming' => FALSE,
'sidr_nocopy' => FALSE,
'sidr_speed' => '',
'sidr_timing' => '',
'sidr_method' => 'toggle',
'sidr_displace' => '',
'sidr_body' => '',
];
}