You are here

function hook_skinr_skin_info_alter in Skinr 7.2

Same name and namespace in other branches
  1. 8.2 skinr.api.php \hook_skinr_skin_info_alter()

Perform alterations on Skinr skins.

Parameters

$skins: An array of skin information exposed by hook_skinr_skin_info() implementations.

Related topics

1 invocation of hook_skinr_skin_info_alter()
skinr_get_skin_info in ./skinr.module
Retrieves all skins registered by modules and themes.

File

./skinr.api.php, line 369
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_skinr_skin_info_alter(&$skins) {

  // Remove restrictions on theme hooks the skin works with.
  unset($skins['skinr_menus']['theme hooks']);
}