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