You are here

function hook_skinr_skin_import_alter in Skinr 7.2

Alter the skin configuration object before it is imported from code.

Parameters

$skin: A skin configuration object.

Related topics

1 invocation of hook_skinr_skin_import_alter()
_skinr_skin_import in ./skinr.module

File

./skinr.api.php, line 508
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_import_alter(&$skin) {

  // Add in custom variable.
  $skin->custom = 'Something special';
}