PatternInterface.php in UI Patterns 8
Namespace
Drupal\ui_patterns\PluginFile
src/Plugin/PatternInterface.phpView source
<?php
namespace Drupal\ui_patterns\Plugin;
/**
* Interface PatternInterface.
*
* @package Drupal\ui_patterns
*/
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();
}
Interfaces
Name | Description |
---|---|
PatternInterface | Interface PatternInterface. |