You are here

protected function FeedRefresh::getExecutable in Feeds 8.3

Returns Feeds executable.

Return value

\Drupal\feed\FeedsExecutableInterface A feeds executable.

File

src/Plugin/QueueWorker/FeedRefresh.php, line 45

Class

FeedRefresh
A queue worker for importing feeds.

Namespace

Drupal\feeds\Plugin\QueueWorker

Code

protected function getExecutable() {
  return \Drupal::service('class_resolver')
    ->getInstanceFromDefinition(FeedsQueueExecutable::class);
}