Skip to content

Commit

Permalink
Add content scheduling to content
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorgmansuryan committed May 20, 2023
1 parent 16ddfd0 commit caffce8
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 13 deletions.
2 changes: 2 additions & 0 deletions definitions/ContentDefinitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public static function getContentMetadata(Content $content)
'object_model' => $content->object_model,
'object_id' => $content->object_id,
'visibility' => (int) $content->visibility,
'state' => (int) $content->state,
'archived' => (bool) $content->archived,
'hidden' => (bool) $content->hidden,
'pinned' => (bool) $content->pinned,
'locked_comments' => (bool) $content->locked_comments,
'created_by' => $content->createdBy ? UserDefinitions::getUserShort($content->createdBy) : null,
Expand Down
6 changes: 3 additions & 3 deletions docs/html/content.html

Large diffs are not rendered by default.

Loading

0 comments on commit caffce8

Please sign in to comment.