You are here

public function ProfileForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/src/ProfileForm.php \Drupal\user\ProfileForm::__construct()

Constructs a new EntityForm object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Entity\Query\QueryFactory $entity_query: The entity query factory.

Overrides AccountForm::__construct

File

core/modules/user/src/ProfileForm.php, line 23
Contains \Drupal\user\ProfileForm.

Class

ProfileForm
Form controller for the profile forms.

Namespace

Drupal\user

Code

public function __construct(EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, QueryFactory $entity_query) {
  parent::__construct($entity_manager, $language_manager, $entity_query);
}