You are here

public function Vefl::getLayouts in Views exposed form layout 8.2

Same name and namespace in other branches
  1. 8.3 src/Vefl.php \Drupal\vefl\Vefl::getLayouts()
  2. 8 src/Vefl.php \Drupal\vefl\Vefl::getLayouts()

Gets Display Suite layouts.

1 call to Vefl::getLayouts()
Vefl::getLayoutOptions in src/Vefl.php
Gets Display Suite layouts.

File

src/Vefl.php, line 35

Class

Vefl
Helper class that holds all the main Display Suite helper functions.

Namespace

Drupal\vefl

Code

public function getLayouts() {
  static $layouts = FALSE;
  if (!$layouts) {
    $layouts = $this->layoutManager
      ->getDefinitions();
  }
  return $layouts;
}