You are here

function custompage_prefix in Custom Page 7

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

Return value

The custompage key configured for theme prefix if necessary

3 calls to custompage_prefix()
custompage_block_view in ./custompage.module
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 181
Custom Page Module

Code

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