You are here

public function QueueStorageEntityForm::buildForm in Open Social 10.3.x

Same name and namespace in other branches
  1. 8.9 modules/custom/social_queue_storage/src/Form/QueueStorageEntityForm.php \Drupal\social_queue_storage\Form\QueueStorageEntityForm::buildForm()
  2. 8.8 modules/custom/social_queue_storage/src/Form/QueueStorageEntityForm.php \Drupal\social_queue_storage\Form\QueueStorageEntityForm::buildForm()
  3. 10.0.x modules/custom/social_queue_storage/src/Form/QueueStorageEntityForm.php \Drupal\social_queue_storage\Form\QueueStorageEntityForm::buildForm()
  4. 10.1.x modules/custom/social_queue_storage/src/Form/QueueStorageEntityForm.php \Drupal\social_queue_storage\Form\QueueStorageEntityForm::buildForm()
  5. 10.2.x modules/custom/social_queue_storage/src/Form/QueueStorageEntityForm.php \Drupal\social_queue_storage\Form\QueueStorageEntityForm::buildForm()

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

modules/custom/social_queue_storage/src/Form/QueueStorageEntityForm.php, line 36

Class

QueueStorageEntityForm
Form controller for Queue storage entity edit forms.

Namespace

Drupal\social_queue_storage\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {

  /** @var \Drupal\social_queue_storage\Entity\QueueStorageEntity $entity */
  $form = parent::buildForm($form, $form_state);
  return $form;
}