| 5 phptemplate.engine | phptemplate_regions() |
Declare the available regions implemented by this engine.
Return value
An array of regions. The first array element will be used as the default region for themes.
File
- themes/
engines/ phptemplate/ phptemplate.engine, line 26 - Handles integration of templates written in pure php with the Drupal theme system.
Code
function phptemplate_regions() {
return array(
'left' => t('left sidebar'),
'right' => t('right sidebar'),
'content' => t('content'),
'header' => t('header'),
'footer' => t('footer'),
);
}
Login or register to post comments