interface DataStreamTypeInterface in farmOS 2.x
Same name in this branch
- 2.x modules/core/data_stream/src/Entity/DataStreamTypeInterface.php \Drupal\data_stream\Entity\DataStreamTypeInterface
- 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\DataStreamTypeView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DataStreamTypeInterface:: |
public | function | Gets the data stream type label. | 1 |
DataStreamTypeInterface:: |
public | function | Returns views data for the data stream type. | 1 |