You are here

function imagecache_testsuite_imagecache_default_presets in ImageCache Actions 7

Same name and namespace in other branches
  1. 8 tests/imagecache_testsuite.features.inc \imagecache_testsuite_imagecache_default_presets()
  2. 6.2 tests/imagecache_testsuite.features.inc \imagecache_testsuite_imagecache_default_presets()

Implementation of hook_imagecache_default_presets().

File

tests/imagecache_testsuite.features.inc, line 6

Code

function imagecache_testsuite_imagecache_default_presets() {
  $filepath = drupal_get_path('module', 'imagecache_testsuite');

  // Each of these presets is stored in its own file.
  // Scan each of these files and return the list.
  return imagecache_testsuite_get_tests();
}