You are here

function exif_custom_features_rebuild in EXIF Custom 7

Implements COMPONENT_features_rebuild().

2 calls to exif_custom_features_rebuild()
exif_custom_features_enable_feature in ./exif_custom.features.inc
Implements COMPONENT_features_enable_feature().
exif_custom_features_revert in ./exif_custom.features.inc
Implements COMPONENT_features_revert().

File

./exif_custom.features.inc, line 81
Features file for the exif_custom module.

Code

function exif_custom_features_rebuild($module) {

  // Store each exported mapping in the database.
  $defaults = features_get_default('exif_custom', $module);
  if (empty($defaults)) {
    return;
  }
  foreach ($defaults as $map) {
    exif_custom_import_map($map);
  }
}