You are here

public function ContentEntityForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/ContentEntityForm.php \Drupal\Core\Entity\ContentEntityForm::__construct()

Constructs a ContentEntityForm object.

Parameters

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

7 calls to ContentEntityForm::__construct()
AccountForm::__construct in core/modules/user/src/AccountForm.php
Constructs a new EntityForm object.
BlockContentForm::__construct in core/modules/block_content/src/BlockContentForm.php
Constructs a BlockContentForm object.
BookOutlineForm::__construct in core/modules/book/src/Form/BookOutlineForm.php
Constructs a BookOutlineForm object.
CommentForm::__construct in core/modules/comment/src/CommentForm.php
Constructs a new CommentForm.
MenuLinkContentForm::__construct in core/modules/menu_link_content/src/Form/MenuLinkContentForm.php
Constructs a MenuLinkContentForm object.

... See full list

7 methods override ContentEntityForm::__construct()
AccountForm::__construct in core/modules/user/src/AccountForm.php
Constructs a new EntityForm object.
BlockContentForm::__construct in core/modules/block_content/src/BlockContentForm.php
Constructs a BlockContentForm object.
BookOutlineForm::__construct in core/modules/book/src/Form/BookOutlineForm.php
Constructs a BookOutlineForm object.
CommentForm::__construct in core/modules/comment/src/CommentForm.php
Constructs a new CommentForm.
MenuLinkContentForm::__construct in core/modules/menu_link_content/src/Form/MenuLinkContentForm.php
Constructs a MenuLinkContentForm object.

... See full list

File

core/lib/Drupal/Core/Entity/ContentEntityForm.php, line 35
Contains \Drupal\Core\Entity\ContentEntityForm.

Class

ContentEntityForm
Entity form variant for content entity types.

Namespace

Drupal\Core\Entity

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}