public function BrightcoveVideoPlaylistCmsEntity::isPublished in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveVideoPlaylistCmsEntity.php \Drupal\brightcove\Entity\BrightcoveVideoPlaylistCmsEntity::isPublished()
- 3.x src/Entity/BrightcoveVideoPlaylistCmsEntity.php \Drupal\brightcove\Entity\BrightcoveVideoPlaylistCmsEntity::isPublished()
Returns the entity published status indicator.
Unpublished entities are only visible to restricted users.
Return value
bool TRUE if the entity is published.
Overrides BrightcoveVideoPlaylistCMSEntityInterface::isPublished
1 call to BrightcoveVideoPlaylistCmsEntity::isPublished()
- BrightcoveVideo::save in src/
Entity/ BrightcoveVideo.php
File
- src/
Entity/ BrightcoveVideoPlaylistCmsEntity.php, line 72
Class
- BrightcoveVideoPlaylistCmsEntity
- Common base class for CMS entities like Video and Playlist.
Namespace
Drupal\brightcove\EntityCode
public function isPublished() {
return (bool) $this
->getEntityKey('status');
}