You are here

function admin_theme_variable_name in Administration theme 7

Same name and namespace in other branches
  1. 5 admin_theme.module \admin_theme_variable_name()
  2. 6 admin_theme.module \admin_theme_variable_name()

Get the variable name for a certain option.

Parameters

string $module: Module that defines this option.

string $params: Name of the option.

Return value

string Variable name for the option.

4 calls to admin_theme_variable_name()
admin_theme_custom_theme in ./admin_theme.module
Implements hook_custom_theme().
admin_theme_form_system_themes_admin_form_alter in ./admin_theme.module
Implements hook_form_alter().
admin_theme_form_system_themes_form_alter_submit in ./admin_theme.module
Process system_themes_form additions submissions.
admin_theme_uninstall in ./admin_theme.install
Implementation of hook_uninstall().

File

./admin_theme.module, line 32
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;
}