You are here

function phptemplate_regions in Drupal 4

Same name and namespace in other branches
  1. 5 themes/engines/phptemplate/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'),
  );
}