function EntityDeleteFormTrait::getEntity

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php \Drupal\Core\Entity\EntityDeleteFormTrait::getEntity()

Gets the entity of this form.

Provided by \Drupal\Core\Entity\EntityForm.

Return value

\Drupal\Core\Entity\EntityInterface The entity.

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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.