You are here

function imagecache_customactions_imagecache_actions in ImageCache Actions 6.2

Same name and namespace in other branches
  1. 6 imagecache_customactions.module \imagecache_customactions_imagecache_actions()

Implementation of hook_imagecache_actions().

Declare available actions, return help text about this filter.

File

customactions/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'),
    ),
    'imagecache_subroutine' => array(
      'name' => 'Subroutine',
      'description' => 'Runs another defined preset on the image.',
    ),
  );
  return $actions;
}