function optimizely_theme in Optimizely 8.0
Same name and namespace in other branches
- 8.3 optimizely.module \optimizely_theme()
- 8 optimizely.module \optimizely_theme()
- 7.3 optimizely.module \optimizely_theme()
- 7.2 optimizely.module \optimizely_theme()
Implements hook_theme().
All of the template definitions. All related templates can be found in /template in the module folder. The template layout can be overridden by the site theme by copying these template files into theme directory.
File
- ./
optimizely.module, line 85 - Optimizely module
Code
function optimizely_theme($existing, $type, $theme, $path) {
return array(
'optimizely_account_settings_form' => array(
'render element' => 'form',
'template' => 'optimizely-account-settings-form',
),
'optimizely_add_update_form' => array(
'render element' => 'form',
'template' => 'optimizely-add-update-form',
),
);
}