You are here

function imagecache_textactions_imagecache_actions in ImageCache Actions 6

Same name and namespace in other branches
  1. 5.3 imagecache_textactions.module \imagecache_textactions_imagecache_actions()
  2. 5.2 imagecache_textactions.module \imagecache_textactions_imagecache_actions()

Implementation of hook_imagecache_actions().

File

./imagecache_textactions.module, line 15

Code

function imagecache_textactions_imagecache_actions() {
  $actions = array(
    'textactions_text2canvas' => array(
      'name' => t('Text'),
      'description' => t('Add static or dynamic (coded) text to an image.'),
      'file' => 'textactions.inc',
    ),
    'textactions_rendertext' => array(
      'name' => t('Render Text'),
      'description' => t('EXPERIMENTAL Add static or dynamic (coded) text to an image using <a href="!imageapi_link">imageapi_text</a> CSS-like effects.', array(
        url('admin/settings/imageapi/config/text'),
      )),
      'file' => 'textrender.inc',
    ),
  );
  return $actions;
}