You are here

public function FlaggingCollection::getBaseFlag in Flag Lists 4.0.x

Same name and namespace in other branches
  1. 8 src/Entity/FlaggingCollection.php \Drupal\flag_lists\Entity\FlaggingCollection::getBaseFlag()

Gets the Base Flag for the Flagging collection.

Return value

string Name of the Base Flag.

Overrides FlaggingCollectionInterface::getBaseFlag

File

src/Entity/FlaggingCollection.php, line 255

Class

FlaggingCollection
Defines the Flagging collection entity.

Namespace

Drupal\flag_lists\Entity

Code

public function getBaseFlag() {
  return $this
    ->get('templateflag')->entity;
}