You are here

public function AssetTypeBase::getLabel in farmOS 2.x

Gets the asset type label.

Return value

string The asset type label.

Overrides AssetTypeInterface::getLabel

File

modules/core/entity/src/Plugin/Asset/AssetType/AssetTypeBase.php, line 15

Class

AssetTypeBase
Provides the base asset type class.

Namespace

Drupal\farm_entity\Plugin\Asset\AssetType

Code

public function getLabel() {
  return $this->pluginDefinition['label'];
}