public property 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

drupal/core/modules/filter/lib/Drupal/filter/Plugin/Core/Entity/FilterFormat.php, line 57
Contains \Drupal\filter\Plugin\Core\Entity\FilterFormat.

Class

FilterFormat
Represents a text format.

Namespace

Drupal\filter\Plugin\Core\Entity

Code

public $name;