interface PatternInterface in UI Patterns 8
Interface PatternInterface.
@package Drupal\ui_patterns
Hierarchy
- interface \Drupal\ui_patterns\Plugin\PatternInterface
Expanded class hierarchy of PatternInterface
All classes that implement PatternInterface
File
- src/
Plugin/ PatternInterface.php, line 10
Namespace
Drupal\ui_patterns\PluginView source
interface PatternInterface {
/**
* Get theme implementation for current pattern.
*
* @see ui_patterns_theme()
*
* @return array
* Theme implementation array.
*/
public function getThemeImplementation();
/**
* Get library definitions for current pattern.
*
* @see ui_patterns_library_info_build()
*
* @return array
* Library definitions array.
*/
public function getLibraryDefinitions();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PatternInterface:: |
public | function | Get library definitions for current pattern. | 1 |
PatternInterface:: |
public | function | Get theme implementation for current pattern. | 1 |