public function FilterFormat::toArray in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::toArray()
Gets an array of all property values.
Return value
mixed[] An array of property values, keyed by property name.
Overrides ConfigEntityBase::toArray
File
- core/
modules/ filter/ src/ Entity/ FilterFormat.php, line 171 - Contains \Drupal\filter\Entity\FilterFormat.
Class
- FilterFormat
- Represents a text format.
Namespace
Drupal\filter\EntityCode
public function toArray() {
$properties = parent::toArray();
// The 'roles' property is only used during install and should never
// actually be saved.
unset($properties['roles']);
return $properties;
}