You are here

public function FlaggingCollectionInterface::setRelatedFlag in Flag Lists 8

Same name and namespace in other branches
  1. 4.0.x src/Entity/FlaggingCollectionInterface.php \Drupal\flag_lists\Entity\FlaggingCollectionInterface::setRelatedFlag()

Sets the Related Flag for this Flagging Collection.

Parameters

string $relatedFlag: The Related Flag name.

Return value

\Drupal\flag_lists\Entity\FlaggingCollectionInterface The called Flagging collection entity.

1 method overrides FlaggingCollectionInterface::setRelatedFlag()
FlaggingCollection::setRelatedFlag in src/Entity/FlaggingCollection.php
Sets the Related Flag for this Flagging Collection.

File

src/Entity/FlaggingCollectionInterface.php, line 153

Class

FlaggingCollectionInterface
Provides an interface for defining Flagging collection entities.

Namespace

Drupal\flag_lists\Entity

Code

public function setRelatedFlag($relatedFlag);