Defines the configured text editor entity.
Plugin annotation
@ConfigEntityType(
id = "editor",
label = @Translation("Text Editor"),
handlers = {
"access" = "Drupal\editor\EditorAccessControlHandler",
},
entity_keys = {
"id" = "format"
},
config_export = {
"format",
"editor",
"settings",
"image_upload",
}
)
Hierarchy
class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupa