function EntityForm::prepareEntity
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::prepareEntity()
- 10 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::prepareEntity()
- 8.9.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::prepareEntity()
Prepares the entity object before the form is built first.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityForm.php, line 379
Class
- EntityForm
- Base class for entity forms.
Namespace
Drupal\Core\EntityCode
protected function prepareEntity() {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.