function hook_popups_skins in Popups API (Ajax Dialogs) 6.2
Adds skins to the Popups API.
Returns an associative array where the key is the skin name, along with CSS and JS values to tell where the skin can be found.
1 function implements hook_popups_skins()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- popups_popups_skins in ./
popups.module - Implementation of hook_popups_skins.
1 invocation of hook_popups_skins()
- popups_skins in ./
popups.module - Retrieve all information from the popup skin registry.
File
- ./
popups.api.php, line 45 - Provides hook documentation for the Popups API.
Code
function hook_popups_skins() {
$skin['My Skin'] = array(
'css' => drupal_get_path('module', 'myskin') . '/myskin.css',
'js' => drupal_get_path('module', 'myskin') . '/myskin.js',
);
}