1 image_module_test.module image_module_test_image_effect_info()

Implements hook_image_effect_info().

File

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

Code

function image_module_test_image_effect_info() {
  $effects = array(
    'image_module_test_null' => array(
      'effect callback' => 'image_module_test_null_effect',
    ),
    'image_module_test_wait' => array(
      'label' => t('Wait 2 seconds'),
      'help' => t('Performs a NULL operation that takes 5 seconds.'),
      'effect callback' => 'image_module_test_wait_effect',
      'dimensions passthrough' => TRUE,
    )
  );

  return $effects;
}