function layouter_theme in Layouter - WYSIWYG layout templates 7
Same name and namespace in other branches
- 8 layouter.module \layouter_theme()
Implements hook_theme().
File
- ./
layouter.module, line 52 - This module provide ability to add layout to text fields.
Code
function layouter_theme($existing, $type, $theme, $path) {
return array(
'layouter_image_only' => array(
'variables' => array(
'image' => NULL,
),
'template' => 'theme/tpl/image_only',
),
'layouter_two_columns' => array(
'variables' => array(
'text' => NULL,
),
'template' => 'theme/tpl/two_columns',
),
'layouter_two_columns_img_left_text_right' => array(
'variables' => array(
'text' => NULL,
'image' => NULL,
'caption' => NULL,
),
'template' => 'theme/tpl/two_columns_img_left_text_right',
),
'layouter_two_columns_img_right_text_left' => array(
'variables' => array(
'text' => NULL,
'image' => NULL,
'caption' => NULL,
),
'template' => 'theme/tpl/two_columns_img_right_text_left',
),
'layouter_two_columns_text_img_left' => array(
'variables' => array(
'text' => NULL,
'image' => NULL,
),
'template' => 'theme/tpl/two_columns_text_img_left',
),
'layouter_big_img_text_below' => array(
'variables' => array(
'text' => NULL,
'image' => NULL,
),
'template' => 'theme/tpl/big_img_text_below',
),
'layouter_big_img_text_above' => array(
'variables' => array(
'text' => NULL,
'image' => NULL,
),
'template' => 'theme/tpl/big_img_text_above',
),
'layouter_big_img_two_column_text_below' => array(
'variables' => array(
'text' => NULL,
'image' => NULL,
),
'template' => 'theme/tpl/big_img_two_column_text_below',
),
'layouter_big_img_two_column_text_above' => array(
'variables' => array(
'text' => NULL,
'image' => NULL,
),
'template' => 'theme/tpl/big_img_two_column_text_above',
),
);
}