You are here

function hook_skinr_context_group_defaults_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_defaults_alter()

Alter the default skin settings group objects.

Parameters

$default_groups: An array of skin settings group objects from code.

Related topics

2 invocations of hook_skinr_context_group_defaults_alter()
skinr_context_group_defaults_import in skinr_context/skinr_context.module
Imports default skin settings group objects from code into database.
_skinr_context_group_get_defaults in skinr_context/skinr_context.module
Returns all default skin settings group objects.

File

skinr_context/skinr_context.api.php, line 28
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_defaults_alter(&$default_groups) {

  // Rename a group.
  $default_groups['block:system__navigation:standard']['title'] = t('Fancy title');
}