You are here

PatternInterface.php in UI Patterns 8

File

src/Plugin/PatternInterface.php
View 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

Namesort descending Description
PatternInterface Interface PatternInterface.