public function Editor::id in Drupal 9
Same name and namespace in other branches
- 8 core/modules/editor/src/Entity/Editor.php \Drupal\editor\Entity\Editor::id()
Gets the identifier.
Return value
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
Overrides EntityBase::id
File
- core/
modules/ editor/ src/ Entity/ Editor.php, line 83
Class
- Editor
- Defines the configured text editor entity.
Namespace
Drupal\editor\EntityCode
public function id() {
return $this->format;
}