You are here

jcarousel.api.php in jCarousel 8.4

Same filename and directory in other branches
  1. 8.5 jcarousel.api.php

Hooks provided by the jcarousel module.

File

jcarousel.api.php
View source
<?php

/**
 * @file
 * Hooks provided by the jcarousel module.
 */

/**
 * @addtogroup hooks
 * @{
 */

/**
 * Alter the jCarousel skin definitions.
 *
 * @param array $skins
 *   Associative array of skin definitions.
 */
function hook_jcarousel_skins_alter(&$skins) {

  // Change weight of the tango skin.
  $skins['tango']['weight'] = 5;
}

/**
 * Alter the jCarousel options.
 *
 * @param array $options
 *   Associative array of $options.
 */
function hook_jcarousel_options_alter(&$options) {
}

/**
 * @} End of "addtogroup hooks".
 */

Functions

Namesort descending Description
hook_jcarousel_options_alter Alter the jCarousel options.
hook_jcarousel_skins_alter Alter the jCarousel skin definitions.