You are here

function xmlsitemap_entity_update in XML sitemap 8

Same name and namespace in other branches
  1. 2.x xmlsitemap.module \xmlsitemap_entity_update()

Implements hook_entity_update().

File

./xmlsitemap.module, line 1721
xmlsitemap XML sitemap

Code

function xmlsitemap_entity_update(EntityInterface $entity) {
  if (xmlsitemap_link_bundle_check_enabled($entity
    ->getEntityTypeId(), $entity
    ->bundle())) {
    xmlsitemap_xmlsitemap_process_entity_link($entity);
  }
}