You are here

SampleDataGeneratorInterface.php in YAML Content 8.2

Namespace

Drupal\sample_data

File

modules/sample_data/src/SampleDataGeneratorInterface.php
View source
<?php

namespace Drupal\sample_data;

use Drupal\Component\Plugin\PluginInspectionInterface;

/**
 * A common interface to be extended by all sample data generators.
 *
 * @package Drupal\sample_data
 */
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();

}

Interfaces

Namesort descending Description
SampleDataGeneratorInterface A common interface to be extended by all sample data generators.