public static function EntityUsageSourceLevel::getTopLevelEntityTypes in Entity Usage 8.3
Returns all entity type names that are defined as top-level (sources).
Return value
string[] An indexed array of top-level entity type machine names.
Overrides EntityUsageSourceLevelInterface::getTopLevelEntityTypes
5 calls to EntityUsageSourceLevel::getTopLevelEntityTypes()
- entity_usage_install in ./
entity_usage.install - Implements hook_install().
- entity_usage_post_update_regenerate_3x in ./
entity_usage.post_update.php - Re-generate entity_usage statistics on the 3.x branch.
- ListUsageController::checkHiddenUsages in src/
Controller/ ListUsageController.php - Checks whether there are hidden (past-revisions-only) usages.
- ListUsageController::getPageRows in src/
Controller/ ListUsageController.php - Query the DB for the next page of items to display.
- _entity_usage_field_deleted_helper in ./
entity_usage.module
File
- src/
EntityUsageSourceLevel.php, line 49
Class
- EntityUsageSourceLevel
- Defines the interface for the service managing top-level source entities.
Namespace
Drupal\entity_usageCode
public static function getTopLevelEntityTypes() {
// @todo Make it easier for sites to override this.
return self::TOP_LEVEL_TYPES;
}