Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
PatternInterface.php 566 B
<?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();

}