You are here

function hook_iek_watermark_font in Image effect kit 8

Same name and namespace in other branches
  1. 7 iek.api.php \hook_iek_watermark_font()

Allows modules to add more fonts for the text watermark.

1 function implements hook_iek_watermark_font()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

iek_iek_watermark_font in ./iek.module
Implements hook_iek_watermark_font().
1 invocation of hook_iek_watermark_font()
iek_get_watermark_fonts in ./iek.module
Gets a list of available watermark fonts.

File

./iek.api.php, line 12
Hooks provided by iek module.

Code

function hook_iek_watermark_font() {
  $path = drupal_get_path('module', 'iek') . '/fonts';
  return [
    'a_cut_above_the_rest' => [
      'name' => 'a_cut_above_the_rest',
      'title' => t('A Cut Above The Rest'),
      'file' => 'a_cut_above_the_rest.ttf',
      'path' => $path,
    ],
  ];
}