public static function UiPatterns::getManager in UI Patterns 8
Get pattern manager instance.
Return value
\Drupal\ui_patterns\UiPatternsManager UI Patterns manager instance.
1 call to UiPatterns::getManager()
- UiPatternsManagerTest::testGetPattern in tests/
src/ Kernel/ UiPatternsManagerTest.php - Test UiPatternsManager::getPatternDefinition.
File
- src/
UiPatterns.php, line 18
Class
- UiPatterns
- UI Patterns factory class.
Namespace
Drupal\ui_patternsCode
public static function getManager() {
return \Drupal::service('plugin.manager.ui_patterns');
}