You are here

function hook_dynamic_background_weight in Dynamic Background 7.2

Same name and namespace in other branches
  1. 7 dynamic_background.api.php \hook_dynamic_background_weight()

Sub-modules that provieds image selection to the css generation process have to implement this hook. It's used to determind the default weight of the sub-module.

8 functions implement hook_dynamic_background_weight()

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

dynamic_background_blog_dynamic_background_weight in modules/dynamic_background_blog/dynamic_background_blog.module
Implements hook_dynamic_background_weight().
dynamic_background_context_dynamic_background_weight in modules/dynamic_background_context/dynamic_background_context.module
Implements hook_dynamic_background_weight().
dynamic_background_dynamic_background_weight in ./dynamic_background.module
Implements hook_dynamic_background_weight().
dynamic_background_inherit_dynamic_background_weight in modules/dynamic_background_inherit/dynamic_background_inherit.module
Implements hook_dynamic_background_weight().
dynamic_background_node_dynamic_background_weight in modules/dynamic_background_node/dynamic_background_node.module
Implements hook_dynamic_background_weight().

... See full list

1 invocation of hook_dynamic_background_weight()
dynamic_background_admin_weight_form in includes/weight.admin.inc
Creates a form which can be used to order the sub-modules/extension weights so the override order of the CSS can be weighted.

File

./dynamic_background.api.php, line 49
Hooks provided by the dynamic background module.

Code

function hook_dynamic_background_weight() {
  return array(
    'weight' => -30,
  );
}