You are here

function social_path_manager_entity_insert in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_insert()
  2. 8.5 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_insert()
  3. 8.6 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_insert()
  4. 8.8 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_insert()
  5. 10.3.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_insert()
  6. 10.0.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_insert()
  7. 10.1.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_insert()
  8. 10.2.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_insert()

Implements hook_entity_insert().

File

modules/custom/social_path_manager/social_path_manager.module, line 57
The Social Path Manager module.

Code

function social_path_manager_entity_insert(EntityInterface $entity) {
  _social_path_manager_update_alias($entity, 'create');
}