1 layout.theme.inc theme_layout_region_inner($variables)

Output region content wrapped by tag specified in layout UI.

File

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

Code

function theme_layout_region_inner($variables) {
  $tag = $variables['tag'];
  $attributes['class'] = $variables['classes'];

  if ($tag != '') {
    return '<' . $tag . backdrop_attributes($attributes) . '>' . implode('', $variables['blocks']) . '</' . $tag . '>';
  }
  return implode('', $variables['blocks']);
}