public function ModerationState::isPublishedState in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 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 76
Class
- ModerationState
- Defines the Moderation state entity.
Namespace
Drupal\workbench_moderation\EntityCode
public function isPublishedState() {
return $this->published;
}