You are here

function imagecache_customactions_imagecache_actions in ImageCache Actions 6

Same name and namespace in other branches
  1. 6.2 customactions/imagecache_customactions.module \imagecache_customactions_imagecache_actions()

Implementation of hook_imagecache_actions().

Declare available actions, return help text about this filter.

File

./imagecache_customactions.module, line 50
Allow advanced users to code their own PHP image manipulation routines as part of imagecache processing.

Code

function imagecache_customactions_imagecache_actions() {
  $actions = array(
    'imagecache_customactions' => array(
      'name' => t('Custom action'),
      'description' => t('Runs custom PHP code'),
    ),
  );
  return $actions;
}