function d8cache_user_insert in Drupal 8 Cache Backport 7
Implements hook_user_insert().
File
- includes/
user.inc, line 15 - User functions and hooks for the D8 caching system backport.
Code
function d8cache_user_insert(&$edit, $account, $category) {
drupal_invalidate_cache_tags(array(
'search_index:user',
));
}