public function FilterFormat::id in Drupal 10
Same name and namespace in other branches
- 8 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::id()
- 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
3 calls to FilterFormat::id()
- FilterFormat::disable in core/
modules/ filter/ src/ Entity/ FilterFormat.php - Disables the configuration entity.
- 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\EntityCode
public function id() {
return $this->format;
}