You are here

public static function FeedImport::getAllEntities in Feed Import 7.3

Get all entity names.

Return value

array List of all entity names.

2 calls to FeedImport::getAllEntities()
feed_import_base_settings_form in feed_import_base/feed_import_base.module
Settings form
feed_import_edit_feed_form in ./feed_import.module
Edit feed form

File

feed_import_base/inc/feed_import.inc, line 148
This file contains Feed Import helpers.

Class

FeedImport
This class provides helper functions for feed import.

Code

public static function getAllEntities() {
  if (!static::$entityNames) {
    foreach (entity_get_info() as $entity => $info) {
      static::$entityNames[$entity] = $info['label'];
    }
  }
  return static::$entityNames;
}