media_sitemap.module in Media Sitemap 8
Same filename and directory in other branches
Creating image sitemap for Google using media module.
File
media_sitemap.moduleView source
<?php
/**
* @file
* Creating image sitemap for Google using media module.
*/
use Drupal\media_sitemap\MediaSitemapGenerator;
/**
* Implements hook_cron().
*/
function media_sitemap_cron() {
MediaSitemapGenerator::generateSitemap();
}
Functions
Name | Description |
---|---|
media_sitemap_cron | Implements hook_cron(). |