You are here

function custompage_prefix in Custom Page 6

Same name and namespace in other branches
  1. 7 custompage.module \custompage_prefix()

Return value

The custompage key configured for theme prefix if necessary

3 calls to custompage_prefix()
custompage_block in ./custompage.module
Generate custom blocks
custompage_delegate in ./custompage.module
Find a theme function and/or template file and return content
custompage_theme in ./custompage.module
Implementation of hook_theme().

File

./custompage.module, line 163
Custom Page Module

Code

function custompage_prefix($key) {
  $prefix = variable_get('custompage_theme_prefix', '');
  if (!empty($prefix)) {
    return "{$prefix}_{$key}";
  }
  return $key;
}