You are here

function xmlsitemap_entity_update in XML sitemap 2.x

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

Implements hook_entity_update().

File

./xmlsitemap.module, line 1681
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);
  }
}