You are here

interface SourceDefinitionInterface in Tamper 8

Defines an interface for source definitions.

A source definition tells which sources are available on the whole tamperable item. Tamper plugins can use this knowledge to display available sources in the UI.

Hierarchy

Expanded class hierarchy of SourceDefinitionInterface

All classes that implement SourceDefinitionInterface

2 files declare their use of SourceDefinitionInterface
ChainedTamperTest.php in tests/src/Kernel/ChainedTamperTest.php
TamperPluginTestBase.php in tests/src/Unit/Plugin/Tamper/TamperPluginTestBase.php

File

src/SourceDefinitionInterface.php, line 12

Namespace

Drupal\tamper
View source
interface SourceDefinitionInterface {

  /**
   * Returns an unique list of sources.
   *
   * @return array
   *   A list of sources.
   */
  public function getList();

}

Members

Namesort descending Modifiers Type Description Overrides
SourceDefinitionInterface::getList public function Returns an unique list of sources. 1