public function ReviewEntityForm::buildForm in Reviews 1.0.x
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides EntityForm::buildForm
File
- src/
Form/ ReviewEntityForm.php, line 36
Class
- ReviewEntityForm
- Form controller for Review edit forms.
Namespace
Drupal\reviews\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
/* @var \Drupal\reviews\Entity\ReviewEntity $entity */
$form = parent::buildForm($form, $form_state);
return $form;
}