Template for a 2 column layout.

This template provides a two column layout with the sidebar on the right and a roughly 60/40 split.

Variables:

  • $title: The page title, for use in the actual HTML content.
  • $messages: Status and error messages. Should be displayed prominently.
  • $tabs: Tabs linking to any sub-pages beneath the current page (e.g., the view and edit tabs when displaying a node).
  • $action_links: Array of actions local to the page, such as 'Add menu' on the menu administration interface.
  • $classes: Array of CSS classes to be added to the layout wrapper.
  • $attributes: Array of additional HTML attributes to be added to the layout wrapper. Flatten using backdrop_attributes().
  • $content: An array of content, each item in the array is keyed to one region of the layout. This layout supports the following sections:

    • $content['header']
    • $content['top']
    • $content['content']
    • $content['sidebar']
    • $content['footer']

File

core/layouts/legacy/two_column/layout--two-column.tpl.php