ContentEntityForm::init

protected function ContentEntityForm::init

protected ContentEntityForm::init(FormStateInterface $form_state)

Initializes the form state and the entity before the first form build.

Parameters

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides EntityForm::init

File

core/lib/Drupal/Core/Entity/登录查看完整内容