private function Simplesitemap::get_sitemap_from_db in Simple XML sitemap 8
Gets sitemap from db.
1 call to Simplesitemap::get_sitemap_from_db()
File
- src/
Simplesitemap.php, line 101 - Contains \Drupal\simplesitemap\Simplesitemap.
Class
- Simplesitemap
- Simplesitemap class.
Namespace
Drupal\simplesitemapCode
private function get_sitemap_from_db() {
$this->sitemap = db_query("SELECT * FROM {simplesitemap}")
->fetchAllAssoc('id');
}