public function FileType::setDescription in File Entity (fieldable files) 8.2
Set the description of this file type.
Parameters
string $description: A brief description of the file type.
Overrides FileTypeInterface::setDescription
File
- src/
Entity/ FileType.php, line 103
Class
- FileType
- Defines the File type configuration entity.
Namespace
Drupal\file_entity\EntityCode
public function setDescription($description) {
$this->description = $description;
}