You are here

ComponentDiscoveryInterface.php in Decoupled Blocks 8

Namespace

Drupal\pdb

File

src/ComponentDiscoveryInterface.php
View source
<?php

namespace Drupal\pdb;


/**
 * Defines the interface for services which discover front-end components.
 */
interface ComponentDiscoveryInterface {

  /**
   * Find all available front-end components.
   *
   * @return \Drupal\Core\Extension\Extension[]
   *   The discovered components.
   */
  public function getComponents();

}

Interfaces

Namesort descending Description
ComponentDiscoveryInterface Defines the interface for services which discover front-end components.