function tipsy_theme in Tipsy 8
Same name and namespace in other branches
- 7 tipsy.module \tipsy_theme()
Implements hook_theme().
File
- ./
tipsy.module, line 13 - Main file for Tipsy module.
Code
function tipsy_theme() {
$form = \Drupal::formBuilder()
->getForm('Drupal\\tipsy\\Form\\AdminSettingsForm')['custom_selectors'];
return array(
'tipsy_custom_selectors_form' => array(
'variables' => [
'form' => $form,
],
'function' => 'theme_tipsy_custom_selectors_form',
'#cache' => [
'max-age' => 0,
],
),
);
}