public function FlaggingCollection::getRelatedFlag in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/Entity/FlaggingCollection.php \Drupal\flag_lists\Entity\FlaggingCollection::getRelatedFlag()
Gets the Related Flag for the Flagging collection.
Return value
string Name of the Related Flag.
Overrides FlaggingCollectionInterface::getRelatedFlag
File
- src/
Entity/ FlaggingCollection.php, line 246
Class
- FlaggingCollection
- Defines the Flagging collection entity.
Namespace
Drupal\flag_lists\EntityCode
public function getRelatedFlag() {
return $this
->get('relatedflag')->entity;
}