You are here

function hook_iek_watermark_font_alter in Image effect kit 8

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

Allows modules to alter watermark fonts settings.

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

File

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

Code

function hook_iek_watermark_font_alter(&$fonts) {
  if (isset($fonts['a_cut_above_the_rest'])) {
    $fonts['a_cut_above_the_rest']['title'] = t('Custom title');
  }
}