You are here

function hook_skinr_context_group_import_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_import_alter()

Alter the skin settings group object before it is imported from code.

Parameters

$group: A skin settings group object.

Related topics

1 invocation of hook_skinr_context_group_import_alter()
_skinr_context_group_import in skinr_context/skinr_context.module

File

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

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