public function EventSettingsForm::__construct in Open Social 10.3.x
Same name and namespace in other branches
- 10.2.x modules/social_features/social_event/src/Form/EventSettingsForm.php \Drupal\social_event\Form\EventSettingsForm::__construct()
EventSettingsForm constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.
Overrides ConfigFormBase::__construct
File
- modules/
social_features/ social_event/ src/ Form/ EventSettingsForm.php, line 44
Class
- EventSettingsForm
- Class EventSettingsForm.
Namespace
Drupal\social_event\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, CacheTagsInvalidatorInterface $cache_tags_invalidator) {
parent::__construct($config_factory);
$this->entityTypeManager = $entity_type_manager;
$this->cacheTagsInvalidator = $cache_tags_invalidator;
}