public function LdapAuthenticationProfileUpdateForm::__construct in Lightweight Directory Access Protocol (LDAP) 8.4
Same name and namespace in other branches
- 8.3 ldap_authentication/src/Form/LdapAuthenticationProfileUpdateForm.php \Drupal\ldap_authentication\Form\LdapAuthenticationProfileUpdateForm::__construct()
Constructor.
Parameters
\Drupal\Core\Session\AccountInterface $current_user: Current user.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager.
File
- ldap_authentication/
src/ Form/ LdapAuthenticationProfileUpdateForm.php, line 52
Class
- LdapAuthenticationProfileUpdateForm
- Profile update form.
Namespace
Drupal\ldap_authentication\FormCode
public function __construct(AccountInterface $current_user, EntityTypeManagerInterface $entity_type_manager) {
$this->currentUser = $current_user;
$this->entityTypeManager = $entity_type_manager;
}