List of user role IDs to grant access to use this format on initial creation.
This property is always empty and unused for existing text formats.
Default configuration objects of modules and installation profiles are allowed to specify a list of user role IDs to grant access to.
This property only has an effect when a new text format is created and the list is not empty. By default, no user role is allowed to use a new format.
Type: array
File
- core/modules/filter/src/Entity/FilterFormat.php, line 96
Class
- FilterFormat
- Represents a text format.
Namespace
Drupal\filter\Entity
Code
protected $roles;
Please login to continue.