You are here

interface PatternInterface in UI Patterns 8

Interface PatternInterface.

@package Drupal\ui_patterns

Hierarchy

Expanded class hierarchy of PatternInterface

All classes that implement PatternInterface

File

src/Plugin/PatternInterface.php, line 10

Namespace

Drupal\ui_patterns\Plugin
View 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

Namesort descending Modifiers Type Description Overrides
PatternInterface::getLibraryDefinitions public function Get library definitions for current pattern. 1
PatternInterface::getThemeImplementation public function Get theme implementation for current pattern. 1