You are here

function entity_features_post_restore in Entity API 7

Implements hook_features_post_restore().

Rebuild all defaults when a features rebuild is triggered - even the ones not handled by features itself.

File

./entity.features.inc, line 200
Provides Features integration for entity types using the CRUD API.

Code

function entity_features_post_restore($op, $items = array()) {
  if ($op == 'rebuild') {

    // Use features rebuild to rebuild the features independent exports too.
    entity_defaults_rebuild();
  }
}