public function KanbanLog::isPublished in Content Planner 8
Returns the Kanban Log published status indicator.
Unpublished Kanban Log are only visible to restricted users.
Return value
bool TRUE if the Kanban Log is published.
Overrides KanbanLogInterface::isPublished
File
- modules/
content_kanban/ src/ Entity/ KanbanLog.php, line 133
Class
- KanbanLog
- Defines the Kanban Log entity.
Namespace
Drupal\content_kanban\EntityCode
public function isPublished() {
return (bool) $this
->getEntityKey('status');
}