public function PaymentStatusForm::form in Payment 8.2
Same name in this branch
- 8.2 src/Entity/PaymentStatus/PaymentStatusForm.php \Drupal\payment\Entity\PaymentStatus\PaymentStatusForm::form()
- 8.2 src/Entity/Payment/PaymentStatusForm.php \Drupal\payment\Entity\Payment\PaymentStatusForm::form()
Gets the actual form array to be built.
Overrides ContentEntityForm::form
See also
\Drupal\Core\Entity\EntityForm::processForm()
\Drupal\Core\Entity\EntityForm::afterBuild()
File
- src/
Entity/ Payment/ PaymentStatusForm.php, line 96
Class
- PaymentStatusForm
- Provides the payment status update form.
Namespace
Drupal\payment\Entity\PaymentCode
public function form(array $form, FormStateInterface $form_state) {
$form['payment_status'] = $this
->getPluginSelector($form_state)
->buildSelectorForm([], $form_state);
return parent::form($form, $form_state);
}