jcarousel.api.php in jCarousel 8.5
Same filename and directory in other branches
Hooks provided by the jcarousel module.
File
jcarousel.api.phpView 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
Name | Description |
---|---|
hook_jcarousel_options_alter | Alter the jCarousel options. |
hook_jcarousel_skins_alter | Alter the jCarousel skin definitions. |