public function ModerationState::isPublishedState in Workbench Moderation 8.2
Same name and namespace in other branches
- 8 src/Entity/ModerationState.php \Drupal\workbench_moderation\Entity\ModerationState::isPublishedState()
Determines if this state represents a published node.
Return value
bool TRUE if this state deems the node published.
Overrides ModerationStateInterface::isPublishedState
File
- src/
Entity/ ModerationState.php, line 70
Class
- ModerationState
- Defines the Moderation state entity.
Namespace
Drupal\workbench_moderation\EntityCode
public function isPublishedState() {
return $this->published;
}