You are here

function collageformatter_theme in Collage Formatter 8

Same name and namespace in other branches
  1. 7 collageformatter.module \collageformatter_theme()

Implements hook_theme()

File

./collageformatter.module, line 14
Main file for Collage Formatter module.

Code

function collageformatter_theme() {
  return [
    'collageformatter_collage' => [
      'variables' => [
        'collage' => NULL,
        'collage_wrapper_class' => NULL,
        'collage_wrapper_style' => NULL,
        'collage_style' => NULL,
        'collage_bottom_style' => NULL,
      ],
    ],
    'collageformatter_collage_box' => [
      'variables' => [
        'box' => NULL,
        'box_style' => NULL,
      ],
    ],
    'collageformatter_collage_image' => [
      'variables' => [
        'image' => NULL,
        'image_wrapper_class' => NULL,
        'image_wrapper_style' => NULL,
        'image_style' => NULL,
      ],
    ],
  ];
}