You are here

public function FilterFormat::id in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::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

2 calls to FilterFormat::id()
FilterFormat::getPermissionName in core/modules/filter/src/Entity/FilterFormat.php
Returns the machine-readable permission name for the text format.
FilterFormat::isFallbackFormat in core/modules/filter/src/Entity/FilterFormat.php
Returns if this format is the fallback format.

File

core/modules/filter/src/Entity/FilterFormat.php, line 134

Class

FilterFormat
Represents a text format.

Namespace

Drupal\filter\Entity

Code

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