You are here

media_sitemap.module in Media Sitemap 8

Same filename and directory in other branches
  1. 7 media_sitemap.module

Creating image sitemap for Google using media module.

File

media_sitemap.module
View 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

Namesort descending Description
media_sitemap_cron Implements hook_cron().