W3cubDocs

/Drupal 8

protected function EntityForm::prepareEntity

protected EntityForm::prepareEntity()

Prepares the entity object before the form is built first.

File

core/lib/Drupal/Core/Entity/EntityForm.php, line 377

Class

EntityForm
Base class for entity forms.

Namespace

Drupal\Core\Entity

Code

protected function prepareEntity() {
}

© 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!EntityForm.php/function/EntityForm::prepareEntity/8.1.x