bootstrap-11-1.tpl.php in Display Suite Bootstrap Layouts 7
Same filename and directory in other branches
Bootstrap 11-1 template for Display Suite.
Available variables:
Layout:
- $classes: String of classes that can be used to style this layout.
- $contextual_links: Renderable array of contextual links.
- $layout_wrapper: wrapper surrounding the layout.
File
layouts/twocol/bootstrap_11_1/bootstrap-11-1.tpl.phpView source
<?php
/**
* @file
* Bootstrap 11-1 template for Display Suite.
*
* Available variables:
*
* Layout:
* - $classes: String of classes that can be used to style this layout.
* - $contextual_links: Renderable array of contextual links.
* - $layout_wrapper: wrapper surrounding the layout.
*
*/
?>
<<?php
print $layout_wrapper;
print $layout_attributes;
?> class="<?php
print $classes;
?>">
<?php
if (isset($title_suffix['contextual_links'])) {
?>
<?php
print render($title_suffix['contextual_links']);
}
?>
<div class="row">
<<?php
print $left_wrapper;
?> class="col-sm-11 <?php
print $left_classes;
?>">
<?php
print $left;
?>
</<?php
print $left_wrapper;
?>>
<<?php
print $right_wrapper;
?> class="col-sm-1 <?php
print $right_classes;
?>">
<?php
print $right;
?>
</<?php
print $right_wrapper;
?>>
</div>
</<?php
print $layout_wrapper;
?>>
<?php
if (!empty($drupal_render_children)) {
?>
<?php
print $drupal_render_children;
}