You are here

public function ScheduledTransitionsCommands::crawlJobCreator in Scheduled Transitions 8

Same name and namespace in other branches
  1. 2.x src/Commands/ScheduledTransitionsCommands.php \Drupal\scheduled_transitions\Commands\ScheduledTransitionsCommands::crawlJobCreator()

Fills queue with crawler jobs.

@command scheduled-transitions:queue-jobs @aliases sctr-jobs

File

src/Commands/ScheduledTransitionsCommands.php, line 38

Class

ScheduledTransitionsCommands
Drush commandfile for Scheduled Transitions.

Namespace

Drupal\scheduled_transitions\Commands

Code

public function crawlJobCreator() {
  $this->jobs
    ->jobCreator();
  $this
    ->logger()
    ->success(dt('Scheduled transitions queued.'));
}