You are here

public function Flag::getFlaggableEntityTypeId in Flag 8.4

Returns the flaggable entity type ID.

Return value

string The flaggable entity ID.

Overrides FlagInterface::getFlaggableEntityTypeId

File

src/Entity/Flag.php, line 214

Class

Flag
Provides the Flag configuration entity.

Namespace

Drupal\flag\Entity

Code

public function getFlaggableEntityTypeId() {
  return $this->entity_type;
}