You are here

public function FlagMapping::id in Flags 8

@inheritDoc

This method is required because for some reason entity_keys in config entity annotation are ignored.

Overrides EntityBase::id

File

src/Entity/FlagMapping.php, line 41

Class

FlagMapping
Defines the flag mapping entity.

Namespace

Drupal\flags\Entity

Code

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