You are here

public function FileType::setLabel in File Entity (fieldable files) 8.2

Set the label of this file type.

Parameters

string $label: A label for the file type.

Overrides FileTypeInterface::setLabel

File

src/Entity/FileType.php, line 96

Class

FileType
Defines the File type configuration entity.

Namespace

Drupal\file_entity\Entity

Code

public function setLabel($label) {
  $this->label = $label;
}