Feature's component alter hooks

  1. drupal
    1. 6 features.api.php
    2. 7 features.api.php

Hooks to modify components defined by other features. These come in the form hook_COMPONENT_alter where COMPONENT is the default_hook declared by any of components within features.

CTools also has a variety of hook_FOO_alters.

Note: While views is a component of features, it declares it's own alter function which takes a similar form: hook_views_default_views_alter(&$views)

Functions & methods

NameDescription
hook_content_default_fields_alterAlter the default cck fields right before they are cached into the database.
hook_fieldgroup_default_groups_alterAlter the default fieldgroup groups right before they are cached into the database.
hook_filter_default_formats_alterAlter the default filter formats right before they are cached into the database.
hook_menu_default_items_alterAlter the default menu items right before they are cached into the database.
hook_menu_default_menu_custom_alterAlter the default menus right before they are cached into the database.
hook_menu_default_menu_links_alterAlter the default menu links right before they are cached into the database.
hook_taxonomy_default_vocabularies_alterAlter the default vocabularies right before they are cached into the database.
hook_user_default_permissions_alterAlter the default permissions right before they are cached into the database.
hook_user_default_roles_alterAlter the default roles right before they are cached into the database.

File

contributions/features/features.api.php, line 246