You are here

private function DynamicLayout::getWrapperClasses in Dynamic Layouts 8

Get all the wrapper classes.

1 call to DynamicLayout::getWrapperClasses()
DynamicLayout::build in src/Plugin/Layout/DynamicLayout.php
Build a render array for layout with regions.

File

src/Plugin/Layout/DynamicLayout.php, line 100

Class

DynamicLayout
Dynamically prepare the dynamic layout build.

Namespace

Drupal\dynamic_layouts\Plugin\Layout

Code

private function getWrapperClasses() {
  $frontend_library = $this->settings
    ->getFrontendLibrary();
  if ($column_count = $this->settings
    ->getGridColumnCount()) {
    return $frontend_library . '-' . $column_count;
  }
  return '';
}