You are here

function imageeditor_theme in Image Editor 6

Same name and namespace in other branches
  1. 7 imageeditor.module \imageeditor_theme()

Implementation of hook_theme().

File

./imageeditor.module, line 429
Allows online editing of images using different image editing services.

Code

function imageeditor_theme($existing, $type, $theme, $path) {
  return array(
    'imageeditor_widget' => array(
      'arguments' => array(
        'status' => NULL,
        'widget' => NULL,
        'field_name' => NULL,
        'delta' => NULL,
        'filepath' => NULL,
      ),
    ),
    'imageeditor_widget_editors' => array(
      'arguments' => array(
        'status' => NULL,
        'widget' => NULL,
      ),
    ),
    'imageeditor_widget_uploaders' => array(
      'arguments' => array(
        'widget' => NULL,
      ),
    ),
    'imageeditor_widget_item' => array(
      'arguments' => array(
        'name' => NULL,
        'class' => NULL,
      ),
      'template' => 'templates/imageeditor-widget-item',
    ),
    'imageeditor_widget_settings_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'imageeditor_settings_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
  );
}