diff --git a/includes/flag.features.inc b/includes/flag.features.inc index 859f56f..35b087e 100644 --- a/includes/flag.features.inc +++ b/includes/flag.features.inc @@ -88,5 +88,12 @@ function flag_features_providing_module() { $modules[$key] = $module; } } + + // Any entity type without a providing module will be provided for by the flag module + foreach (entity_get_info() as $entity_type => $entity) { + if (!isset($modules[$entity_type]) && empty($entity['configuration'])) { + $modules[$entity_type] = 'flag'; + } + } return $modules; }