Stores the values passed to a toolkit call.
string $op: One of the image toolkit operations: 'get_info', 'load', 'save', 'settings', 'resize', 'rotate', 'crop', 'desaturate'.
array $args: Values passed to hook.
\Drupal\system\Tests\Image\ToolkitTestBase::imageTestReset()
\Drupal\system\Tests\Image\ToolkitTestBase::imageTestGetAllCalls()
protected function logCall($op, $args) {
$results = \Drupal::state()
->get('image_test.results') ?: array();
$results[$op][] = $args;
\Drupal::state()
->set('image_test.results', $results);
}