src/Charcoal/Cms/Support/Traits/NewsManagerAwareTrait.php
public function newsArchiveList()
    {
        $entries = $this->newsManager()->archive();
        foreach ($entries as $entry) {
            yield $this->newsFormatShort($entry);
        }
    }
public function newsArchiveList()
    {
        $entries = $this->newsManager()->archive();
        foreach ($entries as $entry) {
            yield $this->newsFormatShort($entry);
        }
    }
public function newsArchiveList ( ) { $ entries = $ this -> newsManager ( ) -> archive ( ) ; foreach ( $ entries as $ entry ) { yield $ this -> newsFormatShort ( $ entry ) ; } }
Formatted news archive list
Returns the entries for the current page.
@return \Generator|void
Formatted news archive list Returns the entries for the current page .