You are here

interface SampleDataGeneratorInterface in YAML Content 8.2

A common interface to be extended by all sample data generators.

@package Drupal\sample_data

Hierarchy

Expanded class hierarchy of SampleDataGeneratorInterface

All classes that implement SampleDataGeneratorInterface

File

modules/sample_data/src/SampleDataGeneratorInterface.php, line 12

Namespace

Drupal\sample_data
View 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

Namesort descending Modifiers Type Description Overrides
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
SampleDataGeneratorInterface::execute public function A uniform execution function for all plugins to implement. 1