You are here

function theme_elevatezoomplus in ElevateZoom Plus 7

Returns HTML for a elevatezoomplus.

Parameters

array $variables: An associative array containing:

  • element: The original theme elements.
  • settings: HTML related settings.
  • stage: The static main preview image if not using Slick with asNavFor.

File

./elevatezoomplus.theme.inc, line 21
Hooks and preprocess functions for the Blazy module.

Code

function theme_elevatezoomplus(array $variables) {
  extract($variables);

  // Only provides static stage if not using Slick asNavFor.
  $stage = empty($stage) ? '' : drupal_render($stage);

  // Appends and wraps the already-rendered #children.
  return '<div' . drupal_attributes($attributes_array) . '>' . $stage . $content . '</div>';
}