You are here

protected property FilterFormat::$name in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::name
  2. 9 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::name

Unique label of the text format.

Since text formats impact a site's security, two formats with the same label but different filter configuration would impose a security risk. Therefore, each text format label must be unique.

@todo Rename to $label.

Type: string

File

core/modules/filter/src/Entity/FilterFormat.php, line 78

Class

FilterFormat
Represents a text format.

Namespace

Drupal\filter\Entity

Code

protected $name;