W3cubDocs

/Drupal 8

abstract public function EntityDeleteFormTrait::getEntity

abstract public EntityDeleteFormTrait::getEntity()

Gets the entity of this form.

Provided by \Drupal\Core\Entity\EntityForm.

Return value

\Drupal\Core\Entity\EntityInterface The entity.

Overrides EntityForm::getEntity

File

core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php, line 28

Class

EntityDeleteFormTrait
Provides a trait for an entity deletion form.

Namespace

Drupal\Core\Entity

Code

abstract public function getEntity();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityDeleteFormTrait.php/function/EntityDeleteFormTrait::getEntity/8.1.x