function addtocal_theme in Add to Cal 8.2
Implements hook_theme().
File
- ./
addtocal.module, line 13
Code
function addtocal_theme() {
return [
'addtocal_links' => [
'variables' => [
'addtocal_link' => NULL,
'id' => '',
'attributes' => [],
'button_text' => t('Add to Calendar'),
'button_attributes' => [
'aria-label' => t('Open Add to Calendar menu'),
],
'menu_attributes' => [],
'items' => [],
],
],
];
}