function BasicFormNoContainerInjectionInterface::buildForm

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface::buildForm()
  2. 10 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface::buildForm()
  3. 9 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface::buildForm()
  4. 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface::buildForm()

File

core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php, line 615

Class

BasicFormNoContainerInjectionInterface
A basic form without a container injection interface implemented.

Namespace

Drupal\Tests\Core\Entity

Code

public function buildForm(array $form, FormStateInterface $form_state, ?EntityInterface $entity_test = NULL) : array {
  return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.