You are here

function hook_skinr_context_group_export_alter in Skinr 7.2

Same name and namespace in other branches
  1. 8.2 skinr_context/skinr_context.api.php \hook_skinr_context_group_export_alter()

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

Parameters

$group: A skin settings group object.

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

Related topics

1 invocation of hook_skinr_context_group_export_alter()
skinr_context_group_export in skinr_context/skinr_context.module
Output a settings group object as code suitable for skinr_context_group_defaults().

File

skinr_context/skinr_context.api.php, line 52
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_context_group_export_alter(&$group, &$prefix) {

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