function admin_theme_variable_name in Administration theme 6
Same name and namespace in other branches
- 5 admin_theme.module \admin_theme_variable_name()
- 7 admin_theme.module \admin_theme_variable_name()
Get the variable name for a certain option.
Parameters
$module: String. Module that defines this option.
$params: String. Name of the option.
Return value
String. Variable name for the option.
3 calls to admin_theme_variable_name()
- admin_theme_form_system_admin_theme_settings_alter in ./
admin_theme.module - Implementation of hook_form_alter().
- admin_theme_init in ./
admin_theme.module - Implementation of hook_init().
- admin_theme_uninstall in ./
admin_theme.install - Implementation of hook_uninstall().
File
- ./
admin_theme.module, line 25 - Enable the administration theme on more pages then possible with Drupal's default administration page.
Code
function admin_theme_variable_name($module, $option) {
return 'admin_theme_' . $module . '_' . $option;
}