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
- interface \Drupal\tamper\SourceDefinitionInterface
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\tamperView source
interface SourceDefinitionInterface {
/**
* Returns an unique list of sources.
*
* @return array
* A list of sources.
*/
public function getList();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SourceDefinitionInterface:: |
public | function | Returns an unique list of sources. | 1 |