public function ScheduledTransitionsHooks::__construct in Scheduled Transitions 2.x
Same name and namespace in other branches
- 8 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;
}