1 layout.theme.inc theme_layout_conditions($variables)

Output the list of visibility conditions for layouts.

File

core/modules/layout/layout.theme.inc, line 256
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;
}