protected function ToolkitTestTrait::imageTestGetAllCalls in Drupal 9
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.
11 calls to ToolkitTestTrait::imageTestGetAllCalls()
- ImageEffectsTest::testConvertEffect in core/
modules/ image/ tests/ src/ Kernel/ ImageEffectsTest.php - Tests the 'image_convert' effect.
- ImageEffectsTest::testCropEffect in core/
modules/ image/ tests/ src/ Kernel/ ImageEffectsTest.php - Tests the 'image_crop' effect.
- ImageEffectsTest::testDesaturateEffect in core/
modules/ image/ tests/ src/ Kernel/ ImageEffectsTest.php - Tests the 'image_desaturate' effect.
- ImageEffectsTest::testResizeEffect in core/
modules/ image/ tests/ src/ Kernel/ ImageEffectsTest.php - Tests the 'image_resize' effect.
- ImageEffectsTest::testRotateEffect in core/
modules/ image/ tests/ src/ Kernel/ ImageEffectsTest.php - Tests the image_rotate_effect() function.
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', []);
}