You are here

public function MediaBundle::setDescription in Media entity 8

Sets the entity description.

Parameters

string $description: The entity description.

Return value

$this

Overrides EntityDescriptionInterface::setDescription

File

src/Entity/MediaBundle.php, line 169

Class

MediaBundle
Defines the Media bundle configuration entity.

Namespace

Drupal\media_entity\Entity

Code

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