You are here

public function ThemeGenerator::getLayout in AT Tools 8.2

Same name and namespace in other branches
  1. 8.3 at_theme_generator/src/Theme/ThemeGenerator.php \Drupal\at_theme_generator\Theme\ThemeGenerator::getLayout()

Get layout.

Return value

string

1 call to ThemeGenerator::getLayout()
ThemeGenerator::__construct in at_theme_generator/src/Theme/ThemeGenerator.php
Generator constructor.

File

at_theme_generator/src/Theme/ThemeGenerator.php, line 520

Class

ThemeGenerator
Generator form.

Namespace

Drupal\at_theme_generator\Theme

Code

public function getLayout() {
  if ($this->layout === 'flex') {
    $layout_library = 'flex-builder';
  }
  else {
    $layout_library = 'site-builder';
  }
  return $layout_library;
}