interface SampleDataGeneratorInterface in YAML Content 8.2
A common interface to be extended by all sample data generators.
@package Drupal\sample_data
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\sample_data\SampleDataGeneratorInterface
Expanded class hierarchy of SampleDataGeneratorInterface
All classes that implement SampleDataGeneratorInterface
File
- modules/
sample_data/ src/ SampleDataGeneratorInterface.php, line 12
Namespace
Drupal\sample_dataView source
interface SampleDataGeneratorInterface extends PluginInspectionInterface {
/**
* A uniform execution function for all plugins to implement.
*
* @return mixed
* The expected result of the specific plugin implementation.
*/
public function execute();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
SampleDataGeneratorInterface:: |
public | function | A uniform execution function for all plugins to implement. | 1 |