StateValuesCleanAdvancedTest::$image

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php \Drupal\Tests\system\Functional\Form\StateValuesCleanAdvancedTest::image
  2. 10 core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php \Drupal\Tests\system\Functional\Form\StateValuesCleanAdvancedTest::image
  3. 11.x core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php \Drupal\Tests\system\Functional\Form\StateValuesCleanAdvancedTest::image

An image file path for uploading.

Type: string|bool

File

core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php, line 38

Class

StateValuesCleanAdvancedTest
Tests proper removal of submitted form values using <a href="/api/drupal/core%21lib%21Drupal%21Core%21Form%21FormState.php/function/FormState%3A%3AcleanValues/8.9.x" title="Removes internal Form API elements and buttons from submitted form values." class="local">\Drupal\Core\Form\FormState::cleanValues</a>() when having forms with elements containing buttons like &quot;managed_file&quot;.

Namespace

Drupal\Tests\system\Functional\Form

Code

protected $image;

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