You are here

function theme_panels_layout_link in Panels 5.2

Same name and namespace in other branches
  1. 8.3 panels.module \theme_panels_layout_link()
  2. 6.3 panels.module \theme_panels_layout_link()
  3. 6.2 panels.module \theme_panels_layout_link()
  4. 7.3 panels.module \theme_panels_layout_link()

Theme the layout link image @layout

1 theme call to theme_panels_layout_link()
panels_print_layout_link in ./panels.module
Print the layout link. Sends out to a theme function. @layout

File

./panels.module, line 1221
panels.module Core API for Panels. Provides display editing and rendering capabilities.

Code

function theme_panels_layout_link($title, $id, $image, $link) {
  $output .= '<div class="layout-link">';
  $output .= $image;
  $output .= '<div>' . $title . '</div>';
  $output .= '</div>';
  return $output;
}