public function FlaggingCollection::isPublished in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/Entity/FlaggingCollection.php \Drupal\flag_lists\Entity\FlaggingCollection::isPublished()
Returns the Flagging collection published status indicator.
Unpublished Flagging collection are only visible to restricted users.
Return value
bool TRUE if the Flagging collection is published.
Overrides FlaggingCollectionInterface::isPublished
File
- src/
Entity/ FlaggingCollection.php, line 276
Class
- FlaggingCollection
- Defines the Flagging collection entity.
Namespace
Drupal\flag_lists\EntityCode
public function isPublished() {
return (bool) $this
->getEntityKey('status');
}