1.20.x layout.theme.inc theme_layout_conditions($variables)

Output the list of visibility conditions for layouts.

File

modules/layout/layout.theme.inc, line 252
Theme functions for the Layout module.

Code

function theme_layout_conditions($variables) {
  $element = $variables['element'];

  $output = '<ul>';
  foreach (element_children($element) as $key) {
    $output .= '<li>' . backdrop_render($element[$key]) . '</li>';
  }
  $output .= '</ul>';
  return $output;
}