You are here

public function SimpleSitemap::fromPublished in Simple XML sitemap 4.x

Overrides SimpleSitemapInterface::fromPublished

File

src/Entity/SimpleSitemap.php, line 92

Class

SimpleSitemap
Defines the simple_sitemap entity.

Namespace

Drupal\simple_sitemap\Entity

Code

public function fromPublished() : SimpleSitemapInterface {
  $this->fetchByStatus = self::FETCH_BY_STATUS_PUBLISHED;
  return $this;
}