You are here

public function UiPatternsManager::getPatternsOptions in UI Patterns 8

File

src/UiPatternsManager.php, line 84

Class

UiPatternsManager
Provides the default ui_patterns manager.

Namespace

Drupal\ui_patterns

Code

public function getPatternsOptions() {
  return array_map(function ($option) {
    return $option['label'];
  }, $this
    ->getDefinitions());
}