Filter::$weight
Same name and namespace in other branches
- 11.x core/modules/filter/src/Annotation/Filter.php \Drupal\filter\Annotation\Filter::weight
- 10 core/modules/filter/src/Annotation/Filter.php \Drupal\filter\Annotation\Filter::weight
- 8.9.x core/modules/filter/src/Annotation/Filter.php \Drupal\filter\Annotation\Filter::weight
- main core/modules/filter/src/Annotation/Filter.php \Drupal\filter\Annotation\Filter::weight
A default weight for the filter in new text formats.
This property is optional and it does not need to be declared.
Type: int
File
-
core/
modules/ filter/ src/ Annotation/ Filter.php, line 66
Class
- Filter
- Defines a filter annotation object.
Namespace
Drupal\filter\AnnotationCode
public $weight = 0;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.