You are here

function layouter_theme in Layouter - WYSIWYG layout templates 8

Same name and namespace in other branches
  1. 7 layouter.module \layouter_theme()

Implements hook_theme().

File

./layouter.module, line 15
Contains hooks implementations, prerender callback and common functions.

Code

function layouter_theme($existing, $type, $theme, $path) {
  return [
    'layouter_image_only' => [
      'variables' => [
        'image' => NULL,
      ],
      'template' => 'image_only',
    ],
    'layouter_two_columns' => [
      'variables' => [
        'text' => NULL,
      ],
      'template' => 'two_columns',
    ],
    'layouter_two_columns_img_left_text_right' => [
      'variables' => [
        'text' => NULL,
        'image' => NULL,
        'caption' => NULL,
      ],
      'template' => 'two_columns_img_left_text_right',
    ],
    'layouter_two_columns_img_right_text_left' => [
      'variables' => [
        'text' => NULL,
        'image' => NULL,
        'caption' => NULL,
      ],
      'template' => 'two_columns_img_right_text_left',
    ],
    'layouter_two_columns_text_img_left' => [
      'variables' => [
        'text' => NULL,
        'image' => NULL,
      ],
      'template' => 'two_columns_text_img_left',
    ],
    'layouter_big_img_text_below' => [
      'variables' => [
        'text' => NULL,
        'image' => NULL,
      ],
      'template' => 'big_img_text_below',
    ],
    'layouter_big_img_text_above' => [
      'variables' => [
        'text' => NULL,
        'image' => NULL,
      ],
      'template' => 'big_img_text_above',
    ],
    'layouter_big_img_two_column_text_below' => [
      'variables' => [
        'text' => NULL,
        'image' => NULL,
      ],
      'template' => 'big_img_two_column_text_below',
    ],
    'layouter_big_img_two_column_text_above' => [
      'variables' => [
        'text' => NULL,
        'image' => NULL,
      ],
      'template' => 'big_img_two_column_text_above',
    ],
  ];
}