AccountForm::__construct

public AccountForm::__construct(EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, QueryFactory $entity_query)

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 ContentEntityForm::__construct

File

core/modules/user/src/AccountForm.php, line 47

Class

AccountForm
Form controller for the user account forms.

Namespace

Drupal\user

Code

public function __construct(EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, QueryFactory $entity_query) {
  parent::__construct($entity_manager);
  $this->languageManager = $language_manager;
  $this->entityQuery = $entity_query;
}
doc_Drupal
2016-10-29 08:42:42
Comments
Leave a Comment

Please login to continue.