function MediaType::setDescription
Sets the entity description.
Parameters
string $description: The entity description.
Return value
$this
Overrides EntityDescriptionInterface::setDescription
File
-
core/
modules/ media/ src/ Entity/ MediaType.php, line 167
Class
- MediaType
- Defines the Media type configuration entity.
Namespace
Drupal\media\EntityCode
public function setDescription($description) {
return $this->set('description', $description);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.