public static function UiPatterns::getPatternDefinitions in UI Patterns 8
Get pattern definitions.
Return value
\Drupal\ui_patterns\Definition\PatternDefinition[] Pattern object instance.
1 call to UiPatterns::getPatternDefinitions()
- ui_patterns_layouts_layout_alter in modules/
ui_patterns_layouts/ ui_patterns_layouts.module - Implements hook_layout_alter().
File
- src/
UiPatterns.php, line 51
Class
- UiPatterns
- UI Patterns factory class.
Namespace
Drupal\ui_patternsCode
public static function getPatternDefinitions() {
return \Drupal::service('plugin.manager.ui_patterns')
->getDefinitions();
}