You are here

public static function MediaBundleInterface::getLabel in Media entity 8

Returns the label.

Parameters

\Drupal\media_entity\MediaInterface $media: The Media entity.

Return value

string|bool Returns the label of the bundle that entity belongs to.

1 method overrides MediaBundleInterface::getLabel()
MediaBundle::getLabel in src/Entity/MediaBundle.php
Returns the label.

File

src/MediaBundleInterface.php, line 22

Class

MediaBundleInterface
Provides an interface defining a media bundle entity.

Namespace

Drupal\media_entity

Code

public static function getLabel(MediaInterface $media);