You are here

function image_resize_filter_theme in Image Resize Filter 7

Same name and namespace in other branches
  1. 6 image_resize_filter.module \image_resize_filter_theme()

Implements hook_theme().

File

./image_resize_filter.module, line 86
After adding to a text format, this filter will parse the contents of submitted content and automatically scale image files to match the set dimensions of img tags.

Code

function image_resize_filter_theme() {
  return array(
    'image_resize_filter_image' => array(
      'variables' => array(
        'image' => NULL,
        'settings' => NULL,
      ),
    ),
    'image_resize_filter_form' => array(
      'render element' => 'form',
    ),
  );
}