function iek_iek_overlay in Image effect kit 8
Same name and namespace in other branches
- 7 iek.module \iek_iek_overlay()
Implements hook_iek_overlay().
File
- ./
iek.module, line 81 - Contains "iek" module.
Code
function iek_iek_overlay() {
$path = drupal_get_path('module', 'iek') . '/overlays';
return [
'basic' => [
'name' => 'basic',
'title' => t('Basic'),
'children' => [
'basic_dropshadow_001_1024x768' => [
'name' => 'basic_dropshadow_001_1024x768',
'title' => t('Drop shadow 001 - 1024x768'),
'path' => $path . '/basic',
'file' => 'basic-dropshadow-001-1024x768.png',
],
'basic_dropshadow_001_768x1024' => [
'name' => 'basic_dropshadow_001_768x1024',
'title' => t('Drop shadow 001 - 768x1024'),
'path' => $path . '/basic',
'file' => 'basic-dropshadow-001-768x1024.png',
],
'basic_dropshadow_001_600x600' => [
'name' => 'basic_dropshadow_001_600x600',
'title' => t('Drop shadow 001 - 600x600'),
'path' => $path . '/basic',
'file' => 'basic-dropshadow-001-600x600.png',
],
'basic_film_001_1024x768' => [
'name' => 'basic_film_001_1024x768',
'title' => t('Film 001 - 1024x768'),
'path' => $path . '/basic',
'file' => 'basic-film-001-1024x768.png',
],
'basic_film_001_768x1024' => [
'name' => 'basic_film_001_768x1024',
'title' => t('Film 001 - 768x1024'),
'path' => $path . '/basic',
'file' => 'basic-film-001-768x1024.png',
],
'basic_film_001_600x600' => [
'name' => 'basic_film_001_600x600',
'title' => t('Film 001 - 600x600'),
'path' => $path . '/basic',
'file' => 'basic-film-001-600x600.png',
],
'basic_overlap_001_1024x768' => [
'name' => 'basic_overlap_001_1024x768',
'title' => t('Overlap 001 - 1024x768'),
'path' => $path . '/basic',
'file' => 'basic-overlap-001-1024x768.png',
],
'basic_overlap_001_768x1024' => [
'name' => 'basic_overlap_001_768x1024',
'title' => t('Overlap 001 - 768x1024'),
'path' => $path . '/basic',
'file' => 'basic-overlap-001-768x1024.png',
],
'basic_overlap_001_600x600' => [
'name' => 'basic_overlap_001_600x600',
'title' => t('Overlap 001 - 600x600'),
'path' => $path . '/basic',
'file' => 'basic-overlap-001-600x600.png',
],
'basic_stamp_001_1024x768' => [
'name' => 'basic_stamp_001_1024x768',
'title' => t('Stamp 001 - 1024x768'),
'path' => $path . '/basic',
'file' => 'basic-stamp-001-1024x768.png',
],
'basic_stamp_001_768x1024' => [
'name' => 'basic_stamp_001_768x1024',
'title' => t('Stamp 001 - 768x1024'),
'path' => $path . '/basic',
'file' => 'basic-stamp-001-768x1024.png',
],
'basic_stamp_001_600x600' => [
'name' => 'basic_stamp_001_600x600',
'title' => t('Stamp 001 - 600x600'),
'path' => $path . '/basic',
'file' => 'basic-stamp-001-600x600.png',
],
],
],
];
}