You are here

public function Editor::id in Drupal 8

Same name and namespace in other branches
  1. 9 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\Entity

Code

public function id() {
  return $this->format;
}