You are here

context_layouts_extra.module in Context Field 7

Adds a new 3 column layout.

File

context_layouts_extra.module
View source
<?php

/**
 * @file
 *  Adds a new 3 column layout.
 */

/**
 * Implements hook_context_layouts().
 */
function context_layouts_extra_context_layouts() {
  $info['columns']['name'] = "3 columns";
  $info['columns']['description'] = "Three column page.";
  $info['columns']['stylesheet'] = "layout-columns.css";
  $info['columns']['template'] = "layout-columns";
  $info['columns']['regions'][] = "left";
  $info['columns']['regions'][] = "content";
  $info['columns']['regions'][] = "right";
  $info['columns']['regions'][] = "footer";
  return $info;
}

Functions

Namesort descending Description
context_layouts_extra_context_layouts Implements hook_context_layouts().