public function FlagListItem::getBaseFlag in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/Entity/FlagListItem.php \Drupal\flag_lists\Entity\FlagListItem::getBaseFlag()
Gets the Base Flag for this item.
Return value
string Name of the Base Flag.
Overrides FlagListItemInterface::getBaseFlag
File
- src/
Entity/ FlagListItem.php, line 154
Class
- FlagListItem
- Defines the Flag list item entity.
Namespace
Drupal\flag_lists\EntityCode
public function getBaseFlag() {
return $this
->get('baseflag')->value;
}