public static function FeedImport::getMergeFieldClasses in Feed Import 8
Gets the classes used to merge field values.
Return value
array An array of classes keyed by merge mode.
1 call to FeedImport::getMergeFieldClasses()
- FeedImport::setProcessorSettings in feed_import_base/
src/ FeedImport.php - Sets processor settings.
File
- feed_import_base/
src/ FeedImport.php, line 194
Class
- FeedImport
- This class provides helper functions for feed import.
Namespace
Drupal\feed_import_baseCode
public static function getMergeFieldClasses() {
$classes = \Drupal::moduleHandler()
->invokeAll('feed_import_field_merge_classes');
foreach ($classes as $key => &$class) {
if (isset($class['class'])) {
$class = $class['class'];
}
else {
unset($classes[$key]);
}
}
return $classes;
}