public function MediaInterface::isPublished in Media entity 8
Returns the media published status indicator.
Unpublished media are only visible to their authors and to administrators.
Return value
bool TRUE if the media is published.
1 method overrides MediaInterface::isPublished()
- Media::isPublished in src/
Entity/ Media.php - Returns the media published status indicator.
File
- src/
MediaInterface.php, line 73
Class
- MediaInterface
- Provides an interface defining a media entity.
Namespace
Drupal\media_entityCode
public function isPublished();