You are here

function itweak_upload_theme in iTweak Upload 6.2

Same name and namespace in other branches
  1. 7.3 itweak_upload.module \itweak_upload_theme()

Implementation of hook_theme().

File

./itweak_upload.module, line 644
iTweakUpload - Tweak attachments display and file upload forms.

Code

function itweak_upload_theme() {
  return array(
    // Using explicit 'function' setting here allows to avoid namespace collisions.
    // Was not able to find that method in handbooks. [iva2k]
    'itweak_upload_upload_form_new' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'function' => 'itweak_upload_upload_form_new',
    ),
    'itweak_upload_upload_form_current' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'function' => 'itweak_upload_upload_form_current',
    ),
    'itweak_upload_upload_attachments' => array(
      'arguments' => array(
        'files' => NULL,
      ),
      'function' => 'itweak_upload_upload_attachments',
    ),
    'itweak_upload_comment_upload_attachments' => array(
      'arguments' => array(
        'files' => NULL,
        'display_images' => FALSE,
        'preset' => NULL,
        'itu' => NULL,
      ),
      'function' => 'itweak_upload_comment_upload_attachments',
    ),
    'itweak_upload_thumbnail' => array(
      'arguments' => array(
        'thumbnail' => NULL,
        'href' => NULL,
        'title_text' => NULL,
        'caption_text' => NULL,
        'options' => NULL,
      ),
    ),
    'itweak_upload_images' => array(
      'arguments' => array(
        'list' => NULL,
        'options' => NULL,
      ),
    ),
    'itweak_upload_images_body' => array(
      'arguments' => array(
        'thumbnails' => NULL,
        'limit' => NULL,
        'options' => NULL,
      ),
    ),
    'itweak_upload_images_teaser' => array(
      'arguments' => array(
        'thumbnails' => NULL,
        'limit' => NULL,
        'options' => NULL,
      ),
    ),
    'itweak_upload_images_comment' => array(
      'arguments' => array(
        'thumbnails' => NULL,
        'limit' => NULL,
        'options' => NULL,
      ),
    ),
    'itweak_upload_field_widget_settings_styles' => array(
      'arguments' => array(
        'element' => NULL,
      ),
      'file' => 'itweak_upload.admin.inc',
    ),
    'view_uploaded_files_forbidden' => array(
      'arguments' => array(
        'node' => NULL,
      ),
    ),
  );
}