function domain_path_entity_delete in Domain Path 8
Implements hook_entity_delete().
File
- ./
domain_path.module, line 29 - Path alias handling for multiple domains.
Code
function domain_path_entity_delete(EntityInterface $entity) {
\Drupal::service('domain_path.helper')
->deleteEntityDomainPaths($entity, TRUE);
}