You are here

interface ComponentDiscoveryInterface in Decoupled Blocks 8

Defines the interface for services which discover front-end components.

Hierarchy

Expanded class hierarchy of ComponentDiscoveryInterface

All classes that implement ComponentDiscoveryInterface

2 files declare their use of ComponentDiscoveryInterface
PdbBlockDeriver.php in src/Plugin/Derivative/PdbBlockDeriver.php
PdbBlockDeriverTest.php in tests/src/Unit/Plugin/Derivative/PdbBlockDeriverTest.php

File

src/ComponentDiscoveryInterface.php, line 8

Namespace

Drupal\pdb
View source
interface ComponentDiscoveryInterface {

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

}

Members

Namesort descending Modifiers Type Description Overrides
ComponentDiscoveryInterface::getComponents public function Find all available front-end components. 1