You are here

function custom_breadcrumbs_features_generic_rebuild in Custom Breadcrumbs Features 7.2

Generic function for hook_features_rebuild().

Parameters

$table: Table storing crumbs.

7 calls to custom_breadcrumbs_features_generic_rebuild()
custom_breadcrumbsapi_features_rebuild in includes/custom_breadcrumbs_features.features.inc
Implements hook_features_rebuild(). [component hook]
custom_breadcrumbs_panels_features_rebuild in includes/custom_breadcrumbs_features.features.inc
Implements hook_features_rebuild(). [component hook]
custom_breadcrumbs_paths_features_rebuild in includes/custom_breadcrumbs_features.features.inc
Implements hook_features_rebuild(). [component hook]
custom_breadcrumbs_taxonomy_term_features_rebuild in includes/custom_breadcrumbs_features.features.inc
Implements hook_features_rebuild(). [component hook]
custom_breadcrumbs_taxonomy_vocabulary_features_rebuild in includes/custom_breadcrumbs_features.features.inc
Implements hook_features_rebuild(). [component hook]

... See full list

File

includes/custom_breadcrumbs_features.features.inc, line 294
Code to provide custom_breadcrumbs with features integration.

Code

function custom_breadcrumbs_features_generic_rebuild($module, $table) {
  $items = module_invoke($module, $table . '_features_default_settings');

  // Loop over breadcrumbs we need to recreate.
  foreach ($items as $option => $item) {
    custom_breadcrumbs_features_generic_rebuild_item($item, $table);
  }
}