function ContactFormHooks::__construct
File
-
core/
modules/ contact/ src/ Hook/ ContactFormHooks.php, line 19
Class
- ContactFormHooks
- Form hook implementations for Contact module.
Namespace
Drupal\contact\HookCode
public function __construct(protected readonly AccountInterface $currentUser, protected readonly UserDataInterface $userData, protected readonly configFactoryInterface $configFactory) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.