You are here

public function MediaTypeBase::label in Media entity 8

Returns the display label.

Return value

string The display label.

Overrides MediaTypeInterface::label

File

src/MediaTypeBase.php, line 121

Class

MediaTypeBase
Base implementation of media type plugin.

Namespace

Drupal\media_entity

Code

public function label() {
  return $this->label;
}