FormCacheTest::$form

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php \Drupal\KernelTests\Core\Form\FormCacheTest::form
  2. 10 core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php \Drupal\KernelTests\Core\Form\FormCacheTest::form
  3. 11.x core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php \Drupal\KernelTests\Core\Form\FormCacheTest::form

Type: array

File

core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php, line 34

Class

FormCacheTest
Tests <a href="/api/drupal/core%21lib%21Drupal.php/function/Drupal%3A%3AformBuilder/8.9.x" title="Returns the form builder service." class="local">\Drupal::formBuilder</a>()-&gt;setCache() and <a href="/api/drupal/core%21lib%21Drupal.php/function/Drupal%3A%3AformBuilder/8.9.x" title="Returns the form builder service." class="local">\Drupal::formBuilder</a>()-&gt;getCache().

Namespace

Drupal\KernelTests\Core\Form

Code

protected $form;

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