You are here

function hook_skinr_skin_export_alter in Skinr 7.2

Alter the skin configuration object before it is output as exported code.

Parameters

$skin: A skin configuration object.

$prefix: A string to prefix the code with, used to indent the resulting code.

Related topics

1 invocation of hook_skinr_skin_export_alter()
skinr_skin_export in ./skinr.module
Output a skin configuration object as code suitable for skinr_skin_defaults().

File

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

  // Remove custom variable.
  unset($skin->custom);
}