protected function FeedImportHandler::getExecutable in Feeds 8.3
Returns the executable.
Parameters
string $class: The class to load.
Return value
\Drupal\feeds\FeedsExecutableInterface A feeds executable.
File
- src/
FeedImportHandler.php, line 104
Class
- FeedImportHandler
- Runs the actual import on a feed.
Namespace
Drupal\feedsCode
protected function getExecutable($class) {
return \Drupal::service('class_resolver')
->getInstanceFromDefinition($class);
}