function _entity_bundle_plugin_rebuild_all in Entity bundle plugin 7
Helper function: rebuild the fields for entity types using bundle plugins.
2 calls to _entity_bundle_plugin_rebuild_all()
- entity_bundle_plugin_flush_caches in ./
entity_bundle_plugin.module - Implements hook_flush_caches().
- entity_bundle_plugin_rebuild_all in ./
entity_bundle_plugin.module - Rebuild all fields for all entity types that use bundle plugins.
1 string reference to '_entity_bundle_plugin_rebuild_all'
- entity_bundle_plugin_rebuild_all in ./
entity_bundle_plugin.module - Rebuild all fields for all entity types that use bundle plugins.
File
- ./
entity_bundle_plugin.module, line 26 - EntityBundlePlugin module.
Code
function _entity_bundle_plugin_rebuild_all() {
foreach (entity_get_info() as $entity_type => $entity_info) {
if (!empty($entity_info['bundle plugin']['plugin type'])) {
entity_bundle_plugin_rebuild_fields($entity_type, $entity_info);
}
}
}