ContentEntityForm::__construct

public ContentEntityForm::__construct(EntityManagerInterface $entity_manager)

Constructs a ContentEntityForm object.

Parameters

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

File

core/lib/Drupal/Core/Entity/ContentEntityForm.php, line 30

Class

ContentEntityForm
Entity form variant for content entity types.

Namespace

Drupal\Core\Entity

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}
doc_Drupal
2016-10-29 08:57:17
Comments
Leave a Comment

Please login to continue.