You are here

function hook_fusion_apply_group_info in Fusion Accelerator 7.2

Same name and namespace in other branches
  1. 7 fusion_apply/fusion_apply.api.php \hook_fusion_apply_group_info()

Defines group(s) that will contain skins.

Groups are form element containers used to organize skins categorically. If you do not define a group, your skins will appear in Fusion Apply's default group, which is labeled "General." Fusion implements 4 default groups, which may be used in any skin implementation. For more information, see skins/default.inc.

Each group name must be unique. It is recommended to prefix the name of each group with the name of the theme or module name implementing it, followed by the name of the group. Note that you cannot define 2 groups with the same name, even if they are in different plugins.

Group properties:

  • title (required): Brief title of the tab.
  • description (optional): Description of the group for administration page.
  • weight (discouraged): Weight of the tab group; 0 by default.

The "hook" prefix is substituted with the name of the module or theme that implements it.

See also

fusion_apply_default_fusion_apply_group_info()

Related topics

1 function implements hook_fusion_apply_group_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

fusion_apply_fusion_apply_group_info in fusion_apply/fusion_apply.fusion.inc
Implements hook_fusion_apply_group_info().

File

fusion_apply/fusion_apply.api.php, line 354
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_fusion_apply_group_info() {
  $group['fusion_apply_menus'] = array(
    'title' => t('Menus'),
    'description' => t('Menu and navigation styles.'),
  );
  return $groups;
}