NodeForm::__construct

public NodeForm::__construct(EntityManagerInterface $entity_manager, PrivateTempStoreFactory $temp_store_factory)

Constructs a ContentEntityForm object.

Parameters

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

\Drupal\user\PrivateTempStoreFactory $temp_store_factory: The factory for the temp store object.

Overrides ContentEntityForm::__construct

File

core/modules/node/src/NodeForm.php, line 36

Class

NodeForm
Form handler for the node edit forms.

Namespace

Drupal\node

Code

public function __construct(EntityManagerInterface $entity_manager, PrivateTempStoreFactory $temp_store_factory) {
  parent::__construct($entity_manager);
  $this->tempStoreFactory = $temp_store_factory;
}
doc_Drupal
2016-10-29 09:30:46
Comments
Leave a Comment

Please login to continue.