FilterFormat::$name

Same name in other branches
  1. 9 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::name
  2. 10 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::name
  3. 11.x 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;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.