FilterFormat::$weight
Same name in other branches
- 9 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::weight
- 8.9.x core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::weight
- 11.x core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::weight
Weight of this format in the text format selector.
The first/lowest text format that is accessible for a user is used as default format.
Type: int
File
-
core/
modules/ filter/ src/ Entity/ FilterFormat.php, line 91
Class
- FilterFormat
- Represents a text format.
Namespace
Drupal\filter\EntityCode
protected $weight = 0;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.