You are here

function imagecache_testsuite_imagecache_default_presets in ImageCache Actions 6.2

Same name and namespace in other branches
  1. 8 tests/imagecache_testsuite.features.inc \imagecache_testsuite_imagecache_default_presets()
  2. 7 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.
  // (Unlike the way that features expects it to be stored)
  // Scan each of these files and return the list.
  // This produces the same result
  return imagecache_testsuite_get_tests();
}