1 image_module_test.module image_module_test_wait_effect()

Image effect callback; Waits 2 seconds and performs no action.

Parameters

$image: An image object returned by image_load().

$data: An array with no attributes.

Return value

TRUE:

File

core/modules/image/tests/image_module_test/image_module_test.module, line 60
Provides Image module hook implementations for testing purposes.

Code

function image_module_test_wait_effect() {
  sleep(5);
  return TRUE;
}