Skip to content

Commit

Permalink
Added todo for issue with missing metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
kepol committed Jan 7, 2024
1 parent b84110f commit f0a86d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public static function getPageInfo(array $urls = NULL) : string {
$output .= '<div class="quant-page-info">';
$output .= '<strong>Page info for ' . $url . '</strong>';
$output .= '<ul>';
// @todo Fix underlying data per issue #3412934.
$output .= '<li><strong>Published</strong>: ' . (($record['meta']['published'] ?? FALSE) ? t('Yes') : t('No')) . '</li>';
$output .= '<li><strong>Revisions</strong>: ' . ($record['meta']['revision_count'] ?? 0). '</li>';
$date = DrupalDateTime::createFromTimestamp($record['meta']['content_timestamp'] ?? 0)->format('Y-m-d H:i:s');
Expand Down

0 comments on commit f0a86d6

Please sign in to comment.