oauth.module in OAuth 1.0 8
Same filename and directory in other branches
Hook implementations for OAuth module.
File
oauth.moduleView source
<?php
/**
* @file
* Hook implementations for OAuth module.
*/
/**
* Implements hook_user_delete().
*/
function oauth_user_delete(Drupal\Core\Entity\EntityInterface $user) {
// Delete all consumers related to a user.
db_delete('oauth_consumer')
->condition('uid', $user
->id())
->execute();
}
Functions
Name | Description |
---|---|
oauth_user_delete | Implements hook_user_delete(). |