protected function ToolkitTestTrait::imageTestGetAllCalls 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::imageTestGetAllCalls()
Gets an array of calls to the 'test' toolkit.
Return value
array An array keyed by operation name ('parseFile', 'save', 'settings', 'resize', 'rotate', 'crop', 'desaturate') with values being arrays of parameters passed to each call.
File
- core/
tests/ Drupal/ Tests/ Traits/ Core/ Image/ ToolkitTestTrait.php, line 72
Class
- ToolkitTestTrait
- Provides common methods for image toolkit kernel tests.
Namespace
Drupal\Tests\Traits\Core\ImageCode
protected function imageTestGetAllCalls() : array {
return \Drupal::state()
->get('image_test.results', []);
}