public function EntityPublishedInterface::setUnpublished in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityPublishedInterface.php \Drupal\Core\Entity\EntityPublishedInterface::setUnpublished()
- 9 core/lib/Drupal/Core/Entity/EntityPublishedInterface.php \Drupal\Core\Entity\EntityPublishedInterface::setUnpublished()
Sets the entity as unpublished.
Return value
$this
File
- core/
lib/ Drupal/ Core/ Entity/ EntityPublishedInterface.php, line 32
Class
- EntityPublishedInterface
- Provides an interface for access to an entity's published state.
Namespace
Drupal\Core\EntityCode
public function setUnpublished();