You are here

public function FlagListItemInterface::setFlagList in Flag Lists 8

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

Sets the Flag List for this item.

Parameters

string $flagList: The Flag List name.

Return value

\Drupal\flag_lists\Entity\FlagListItemInterface The called Flag list item entity.

1 method overrides FlagListItemInterface::setFlagList()
FlagListItem::setFlagList in src/Entity/FlagListItem.php
Sets the Flag List for this item.

File

src/Entity/FlagListItemInterface.php, line 114

Class

FlagListItemInterface
Provides an interface for defining Flag list item entities.

Namespace

Drupal\flag_lists\Entity

Code

public function setFlagList($flagList);