public function SiteSettingEntityDeleteForm::__construct in Site Settings and Labels 8
Constructs a ContentEntityForm object.
Parameters
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\site_settings\SiteSettingsLoader $site_settings_loader: The site settings loader service.
Overrides ContentEntityForm::__construct
File
- src/
Form/ SiteSettingEntityDeleteForm.php, line 39
Class
- SiteSettingEntityDeleteForm
- Provides a form for deleting Site Setting entities.
Namespace
Drupal\site_settings\FormCode
public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, SiteSettingsLoader $site_settings_loader) {
parent::__construct($entity_repository, $entity_type_bundle_info, $time);
$this->siteSettingsLoader = $site_settings_loader;
}