You are here

interface AssetTypeInterface in farmOS 2.x

Same name in this branch
  1. 2.x modules/core/asset/src/Entity/AssetTypeInterface.php \Drupal\asset\Entity\AssetTypeInterface
  2. 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\AssetType
View 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

Namesort descending Modifiers Type Description Overrides
AssetTypeInterface::getLabel public function Gets the asset type label. 1
AssetTypeInterface::getWorkflowId public function Gets the asset workflow ID. 1