You are here

function pathauto_i18n_user_remove_alias in Pathauto i18n 8

Same name and namespace in other branches
  1. 7 modules/pathauto_i18n_user/pathauto_i18n_user.module \pathauto_i18n_user_remove_alias()

Sets the status of a pathauto_i18n_status to 0.

Parameters

object $user: A user object.

array $context: (optional) Array of additional information about what triggered the action. Not used for this action.

File

modules/pathauto_i18n_user/pathauto_i18n_user.module, line 151
Provides tools for creating multilanguage aliases for users.

Code

function pathauto_i18n_user_remove_alias($user, $context = array()) {
  $user->pathauto_i18n_status = 0;
}