function EntityPublishedInterface::isPublished
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityPublishedInterface.php \Drupal\Core\Entity\EntityPublishedInterface::isPublished()
- 8.9.x core/lib/Drupal/Core/Entity/EntityPublishedInterface.php \Drupal\Core\Entity\EntityPublishedInterface::isPublished()
- 11.x core/lib/Drupal/Core/Entity/EntityPublishedInterface.php \Drupal\Core\Entity\EntityPublishedInterface::isPublished()
Returns whether or not the entity is published.
Return value
bool TRUE if the entity is published, FALSE otherwise.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityPublishedInterface.php, line 18
Class
- EntityPublishedInterface
- Provides an interface for access to an entity's published state.
Namespace
Drupal\Core\EntityCode
public function isPublished();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.