public ContentEntityForm::form(array $form, FormStateInterface $form_state)
Gets the actual form array to be built.
Overrides EntityForm::form
See also
\Drupal\Core\Entity\EntityForm::processForm()
\Drupal\Core\Entity\EntityForm::afterBuild()
File
core/lib/Drupal/Core/Entity/ContentEntityForm.php, line 46
Class
ContentEntityForm Entity form variant for content entity types.
Namespace
Drupal\Core\Entity
Code
public function form(array $form, FormStateInterface $form_state) {
$form =