You are here

public static function UloginHelper::identityDeleteById in uLogin (advanced version) 8

Internal functions.

1 call to UloginHelper::identityDeleteById()
UserIdentityDelete::submitForm in src/Form/UserIdentityDelete.php
Form submission handler.

File

src/UloginHelper.php, line 92

Class

UloginHelper
Ulogin Helper class.

Namespace

Drupal\ulogin

Code

public static function identityDeleteById($id) {
  $result = \Drupal::database()
    ->delete('ulogin_identity')
    ->condition('id', $id)
    ->execute();
  return $result;
}