You are here

interface DataStreamTypeInterface in farmOS 2.x

Same name in this branch
  1. 2.x modules/core/data_stream/src/Entity/DataStreamTypeInterface.php \Drupal\data_stream\Entity\DataStreamTypeInterface
  2. 2.x modules/core/data_stream/src/Plugin/DataStream/DataStreamType/DataStreamTypeInterface.php \Drupal\data_stream\Plugin\DataStream\DataStreamType\DataStreamTypeInterface

Defines the interface for data stream types.

Hierarchy

  • interface \Drupal\data_stream\Plugin\DataStream\DataStreamType\DataStreamTypeInterface extends \Drupal\entity\BundlePlugin\BundlePluginInterface

Expanded class hierarchy of DataStreamTypeInterface

All classes that implement DataStreamTypeInterface

File

modules/core/data_stream/src/Plugin/DataStream/DataStreamType/DataStreamTypeInterface.php, line 10

Namespace

Drupal\data_stream\Plugin\DataStream\DataStreamType
View source
interface DataStreamTypeInterface extends BundlePluginInterface {

  /**
   * Gets the data stream type label.
   *
   * @return string
   *   The data stream type label.
   */
  public function getLabel();

  /**
   * Returns views data for the data stream type.
   *
   * @see \Drupal\views\EntityViewsData::getViewsData()
   *
   * @return array
   *   Views data in the format of hook_views_data().
   */
  public function getViewsData();

}

Members

Namesort descending Modifiers Type Description Overrides
DataStreamTypeInterface::getLabel public function Gets the data stream type label. 1
DataStreamTypeInterface::getViewsData public function Returns views data for the data stream type. 1