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