public static function FeedImport::getHashManagers in Feed Import 8
Gets all hash manager classes used by feeds.
Return value
array An array of classes
1 call to FeedImport::getHashManagers()
- FeedImport::removeEntityHashes in feed_import_base/
src/ FeedImport.php - Removes entity hashes.
File
- feed_import_base/
src/ FeedImport.php, line 434
Class
- FeedImport
- This class provides helper functions for feed import.
Namespace
Drupal\feed_import_baseCode
public static function getHashManagers() {
static $hm = array();
if (!$hm) {
foreach (static::loadAllFeeds() as $feed) {
if (!empty($feed->settings['hashes']['class'])) {
$hm[] = $feed->settings['hashes']['class'];
}
}
$hm = array_unique($hm);
}
return $hm;
}