interface AssetTypeInterface in farmOS 2.x
Same name in this branch
- 2.x modules/core/asset/src/Entity/AssetTypeInterface.php \Drupal\asset\Entity\AssetTypeInterface
- 2.x modules/core/entity/src/Plugin/Asset/AssetType/AssetTypeInterface.php \Drupal\farm_entity\Plugin\Asset\AssetType\AssetTypeInterface
Defines the interface for asset types.
Hierarchy
- interface \Drupal\farm_entity\Plugin\Asset\AssetType\AssetTypeInterface extends \Drupal\entity\BundlePlugin\BundlePluginInterface
Expanded class hierarchy of AssetTypeInterface
All classes that implement AssetTypeInterface
File
- modules/
core/ entity/ src/ Plugin/ Asset/ AssetType/ AssetTypeInterface.php, line 10
Namespace
Drupal\farm_entity\Plugin\Asset\AssetTypeView source
interface AssetTypeInterface extends BundlePluginInterface {
/**
* Gets the asset type label.
*
* @return string
* The asset type label.
*/
public function getLabel();
/**
* Gets the asset workflow ID.
*
* @return string
* The asset workflow ID.
*/
public function getWorkflowId();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AssetTypeInterface:: |
public | function | Gets the asset type label. | 1 |
AssetTypeInterface:: |
public | function | Gets the asset workflow ID. | 1 |