function sidr_theme in Sidr: Accessible Mobile Menus 8.3
Same name and namespace in other branches
- 8.2 sidr.module \sidr_theme()
Implements hook_theme().
5 string references to 'sidr_theme'
- DefaultConfigurationTest::testDefaultConfigurationValues in tests/
src/ Kernel/ DefaultConfigurationTest.php - Tests the default configuration values.
- SettingsForm::buildForm in src/
Form/ SettingsForm.php - Form constructor.
- SettingsForm::submitForm in src/
Form/ SettingsForm.php - Form submission handler.
- SidrTrigger::blockForm in src/
Plugin/ Block/ SidrTrigger.php - template_preprocess_sidr_trigger in ./
sidr.module - Implements template_preprocess_HOOK().
File
- ./
sidr.module, line 14 - Hooks and callbacks for the Sidr module.
Code
function sidr_theme($existing, $type, $theme, $path) {
$output = [];
$output['sidr_trigger'] = [
'variables' => [
'configuration' => [],
'options' => [],
'trigger_icon' => NULL,
'trigger_text' => NULL,
],
];
return $output;
}