DataStreamTypeInterface.php in farmOS 2.x
File
modules/core/data_stream/src/Plugin/DataStream/DataStreamType/DataStreamTypeInterface.phpView source
<?php
namespace Drupal\data_stream\Plugin\DataStream\DataStreamType;
use Drupal\entity\BundlePlugin\BundlePluginInterface;
/**
* Defines the interface for data stream types.
*/
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();
}
Interfaces
Name | Description |
---|---|
DataStreamTypeInterface | Defines the interface for data stream types. |