You are here

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

Overrides SimpleSitemapInterface::getCreated

File

src/Entity/SimpleSitemap.php, line 199

Class

SimpleSitemap
Defines the simple_sitemap entity.

Namespace

Drupal\simple_sitemap\Entity

Code

public function getCreated() : ?string {
  return \Drupal::entityTypeManager()
    ->getStorage('simple_sitemap')
    ->getCreated($this, $this->fetchByStatus);
}