You are here

function asset_gallery_theme in Asset 7

Implements hook_theme().

File

modules/asset_gallery/asset_gallery.module, line 52
Code for the Image gallery asset.

Code

function asset_gallery_theme() {
  $base = array(
    'path' => ASSET_GALLERY_MODULE_PATH . '/theme',
  );
  return array(
    'asset__image__gallery' => array(
      'template' => 'asset--image--gallery',
    ) + $base,
    'asset_wrapper__image__gallery' => array(
      'template' => 'asset-wrapper--image--gallery',
    ) + $base,
    'asset__gallery__full' => array(
      'template' => 'asset--gallery--full',
    ) + $base,
    'field__field_asset_image__image' => array(
      'template' => 'field--field-asset-image--image',
    ) + $base,
    'field__field_asset_gallery_images__gallery' => array(
      'template' => 'field--field-asset-gallery-images--gallery',
    ) + $base,
  );
}