function alpha_theme_get_setting

cis7 alpha.inc alpha_theme_get_setting($name, $default = NULL, $theme = NULL)
cle7 alpha.inc alpha_theme_get_setting($name, $default = NULL, $theme = NULL)
elmsmedia7 alpha.inc alpha_theme_get_setting($name, $default = NULL, $theme = NULL)
icor7 alpha.inc alpha_theme_get_setting($name, $default = NULL, $theme = NULL)
meedjum_blog7 alpha.inc alpha_theme_get_setting($name, $default = NULL, $theme = NULL)
mooc7 alpha.inc alpha_theme_get_setting($name, $default = NULL, $theme = NULL)

A wrapper function for theme_get_settings().

theme_get_setting().

Parameters

$name: The name of the setting that you want to retrieve.

$default (optional): The name (key) of the theme that you want to fetch the setting for. Defaults to NULL.

$theme (optional): The key (machin-readable name) of a theme. Defaults to the key of the current theme if not defined.

3 calls to alpha_theme_get_setting()
alpha_retrieve_grids in sites/all/themes/ulmus/omega/alpha/includes/alpha.inc
Retrieves an array of available grids for a theme.
alpha_theme_container::settings in sites/all/themes/ulmus/omega/alpha/includes/base.inc
@todo
omega_theme_get_setting in sites/all/themes/ulmus/omega/omega/includes/omega.inc
A wrapper function for theme_get_settings().

File

sites/all/themes/ulmus/omega/alpha/includes/alpha.inc, line 23
Helper functions for the Alpha base theme.

Code

function alpha_theme_get_setting($name, $default = NULL, $theme = NULL) {
  $setting = theme_get_setting($name, $theme);

  return isset($setting) ? $setting : $default;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.