EntityFormInterface::getEntity

public EntityFormInterface::getEntity()

Gets the form entity.

The form entity which has been used for populating form element defaults.

Return value

\Drupal\Core\Entity\EntityInterface The current form entity.

File

core/lib/Drupal/Core/Entity/EntityFormInterface.php, line 42

Class

EntityFormInterface
Defines an interface for entity form classes.

Namespace

Drupal\Core\Entity

Code

public function getEntity();
doc_Drupal
2016-10-29 09:06:26
Comments
Leave a Comment

Please login to continue.