You are here

function skinr_skin_info_status_get in Skinr 7.2

Same name and namespace in other branches
  1. 8.2 skinr.module \skinr_skin_info_status_get()

Retrieve the overridden status of a skin.

Parameters

$skin_info: Information about a registered skin.

Return value

An array of statuses for each enabled theme. If no overrides are found, the status defaults will be returned.

4 calls to skinr_skin_info_status_get()
skinr_ui_admin_library_form in ./skinr_ui.admin.inc
Menu callback: skins administration.
skinr_ui_admin_library_form_submit in ./skinr_ui.admin.inc
Form submission handler for skinr_ui_admin_library_form().
skinr_ui_form in ./skinr_ui.edit.inc
Form builder for the skins configuration form.
skinr_ui_get_skinable_hooks in ./skinr_ui.module
Fetch all theme_hooks that are compatible with active skins.

File

./skinr.module, line 1324
Handles core Skinr functionality.

Code

function skinr_skin_info_status_get($skin_info) {
  return variable_get('skinr_skin_' . $skin_info['name'] . '_status', $skin_info['status']);
}