protected function ToolkitTestTrait::imageTestReset in Drupal 10
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Traits/Core/Image/ToolkitTestTrait.php \Drupal\Tests\Traits\Core\Image\ToolkitTestTrait::imageTestReset()
Resets/initializes the history of calls to the test toolkit functions.
File
- core/
tests/ Drupal/ Tests/ Traits/ Core/ Image/ ToolkitTestTrait.php, line 22
Class
- ToolkitTestTrait
- Provides common methods for image toolkit kernel tests.
Namespace
Drupal\Tests\Traits\Core\ImageCode
protected function imageTestReset() : void {
\Drupal::state()
->delete('image_test.results');
}