You are here

function entity_bundle_plugin_rebuild_all in Entity bundle plugin 7

Rebuild all fields for all entity types that use bundle plugins.

File

./entity_bundle_plugin.module, line 10
EntityBundlePlugin module.

Code

function entity_bundle_plugin_rebuild_all($force = FALSE) {
  if (!$force) {
    static $registered = FALSE;
    if (!$registered) {
      drupal_register_shutdown_function('_entity_bundle_plugin_rebuild_all');
      $registered = TRUE;
    }
  }
  else {
    _entity_bundle_plugin_rebuild_all();
  }
}