You are here

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

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

Gets the Flagging collection name.

Return value

string Name of the Flagging collection.

Overrides FlaggingCollectionInterface::getName

File

src/Entity/FlaggingCollection.php, line 211

Class

FlaggingCollection
Defines the Flagging collection entity.

Namespace

Drupal\flag_lists\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}