You are here

public function Editor::id in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 Entity::id

File

core/modules/editor/src/Entity/Editor.php, line 78
Contains \Drupal\editor\Entity\Editor.

Class

Editor
Defines the configured text editor entity.

Namespace

Drupal\editor\Entity

Code

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