You are here

public static function UiPatterns::getSourceManager in UI Patterns 8

Get pattern field sources manager instance.

Return value

\Drupal\ui_patterns\UiPatternsSourceManager UI Patterns field sources manager instance.

File

src/UiPatterns.php, line 28

Class

UiPatterns
UI Patterns factory class.

Namespace

Drupal\ui_patterns

Code

public static function getSourceManager() {
  return \Drupal::service('plugin.manager.ui_patterns_source');
}