public function ScheduledTransitionsHooks::__construct in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x src/ScheduledTransitionsHooks.php \Drupal\scheduled_transitions\ScheduledTransitionsHooks::__construct()
Constructs a new ScheduledTransitionsHooks.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.
\Drupal\scheduled_transitions\ScheduledTransitionsJobsInterface $scheduledTransitionsJobs: Job runner for Scheduled Transitions.
File
- src/
ScheduledTransitionsHooks.php, line 38
Class
- ScheduledTransitionsHooks
- Hooks for Scheduled Transitions module.
Namespace
Drupal\scheduled_transitionsCode
public function __construct(ConfigFactoryInterface $configFactory, ScheduledTransitionsJobsInterface $scheduledTransitionsJobs) {
$this->configFactory = $configFactory;
$this->scheduledTransitionsJobs = $scheduledTransitionsJobs;
}