function FilterFormat::id

Same name in other branches
  1. 9 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::id()
  2. 8.9.x core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::id()
  3. 10 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::id()

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 145

Class

FilterFormat
Represents a text format.

Namespace

Drupal\filter\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.