function MediaType::getDescription

Gets the entity description.

Return value

string The entity description.

Overrides EntityDescriptionInterface::getDescription

File

core/modules/media/src/Entity/MediaType.php, line 160

Class

MediaType
Defines the Media type configuration entity.

Namespace

Drupal\media\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.