You are here

function skinr_skin_info_status_set in Skinr 7.2

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

Set the status of a skin. Overrides the skin plugin settings.

Parameters

$skin_info: Information about a registered skin.

$status: An array of statuses for each theme.

1 call to skinr_skin_info_status_set()
skinr_ui_admin_library_form_submit in ./skinr_ui.admin.inc
Form submission handler for skinr_ui_admin_library_form().

File

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

Code

function skinr_skin_info_status_set($skin_info, $status) {
  variable_set('skinr_skin_' . $skin_info['name'] . '_status', $status);
}