function hook_iek_overlay in Image effect kit 7
Same name and namespace in other branches
- 8 iek.api.php \hook_iek_overlay()
Allows modules to add more custom image overlays.
1 function implements hook_iek_overlay()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- iek_iek_overlay in ./
iek.module - Implements hook_iek_overlay().
1 invocation of hook_iek_overlay()
- iek_get_overlays in ./
iek.module - Gets a list of available image overlays.
File
- ./
iek.api.php, line 36 - Hooks provided by iek module.
Code
function hook_iek_overlay() {
$path = url(drupal_get_path('module', 'iek') . '/overlays');
return array(
'basic' => array(
'name' => 'basic',
'title' => t('Basic'),
'children' => array(
'basic_001_1024x768' => array(
'name' => 'basic_001_1024x768',
'title' => t('Basic 001 - 1024x768'),
'path' => $path . '/basic',
'file' => 'basic-001-1024x768.png',
),
'basic_001_768x1024' => array(
'name' => 'basic_001_768x1024',
'title' => t('Basic 001 - 768x1024'),
'path' => $path . '/basic',
'file' => 'basic-001-768x1024.png',
),
'basic_001_600x600' => array(
'name' => 'basic_001_600x600',
'title' => t('Basic 001 - 600x600'),
'path' => $path . '/basic',
'file' => 'basic-001-600x600.png',
),
),
),
);
}