public EntityForm::form(array $form, FormStateInterface $form_state)
Gets the actual form array to be built.
\Drupal\Core\Entity\EntityForm::processForm()
\Drupal\Core\Entity\EntityForm::afterBuild()
public function form(array $form, FormStateInterface $form_state) { // Add #process and #after_build callbacks. $form['#process'][] = '::processForm'; $form['#after_build'][] = '::afterBuild'; return $form; }
© 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::form/8.1.x