You are here

public static function Vefl::getLayouts in Views exposed form layout 8

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

Gets Display Suite layouts.

2 calls to Vefl::getLayouts()
Vefl::getLayoutOptions in src/Vefl.php
Gets Display Suite layouts.
VeflBasic::buildOptionsForm in src/Plugin/views/exposed_form/VeflBasic.php
Provide a form to edit options for this plugin.

File

src/Vefl.php, line 15

Class

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

Namespace

Drupal\vefl

Code

public static function getLayouts() {
  static $layouts = FALSE;
  if (!$layouts) {
    $layouts = Layout::layoutPluginManager()
      ->getDefinitions();
  }
  return $layouts;
}