public function ScheduledTransitionsSettingsForm::__construct in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x src/Form/ScheduledTransitionsSettingsForm.php \Drupal\scheduled_transitions\Form\ScheduledTransitionsSettingsForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The factory for configuration objects.
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cacheTagInvalidator: Cache tag invalidator.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundleInfo: The bundle information service.
\Drupal\scheduled_transitions\ScheduledTransitionsUtilityInterface $scheduledTransitionsUtility: Utilities for Scheduled Transitions module.
Overrides ConfigFormBase::__construct
File
- src/
Form/ ScheduledTransitionsSettingsForm.php, line 72
Class
- ScheduledTransitionsSettingsForm
- Settings for scheduled transitions.
Namespace
Drupal\scheduled_transitions\FormCode
public function __construct(ConfigFactoryInterface $configFactory, CacheTagsInvalidatorInterface $cacheTagInvalidator, EntityTypeManagerInterface $entityTypeManager, EntityTypeBundleInfoInterface $bundleInfo, ScheduledTransitionsUtilityInterface $scheduledTransitionsUtility) {
parent::__construct($configFactory);
$this->cacheTagInvalidator = $cacheTagInvalidator;
$this->entityTypeManager = $entityTypeManager;
$this->bundleInfo = $bundleInfo;
$this->scheduledTransitionsUtility = $scheduledTransitionsUtility;
}