protected function SimpleSitemapStorage::doLoadMultiple in Simple XML sitemap 4.x
Loads all sitemaps, sorted by their weight.
Overrides ConfigEntityStorage::doLoadMultiple
File
- src/
Entity/ SimpleSitemapStorage.php, line 100
Class
Namespace
Drupal\simple_sitemap\EntityCode
protected function doLoadMultiple(?array $ids = NULL) : array {
$sitemaps = parent::doLoadMultiple($ids);
uasort($sitemaps, [
SimpleSitemap::class,
'sort',
]);
return $sitemaps;
}