public function FileTypeInterface::setLabel in File Entity (fieldable files) 8.2
Set the label of this file type.
Parameters
string $label: A label for the file type.
1 method overrides FileTypeInterface::setLabel()
- FileType::setLabel in src/
Entity/ FileType.php - Set the label of this file type.
File
- src/
FileTypeInterface.php, line 33
Class
- FileTypeInterface
- File type entity interface.
Namespace
Drupal\file_entityCode
public function setLabel($label);