1 user.path.inc user_path_info()

Implements hook_path_info().

File

core/modules/user/user.path.inc, line 10
Path integration.

Code

function user_path_info() {
  $info['user'] = array(
    'entity type' => 'user',
    'label' => t('User account'),
    'pattern label' => t('URL alias pattern for user accounts'),
    'pattern default' => 'users/[user:name]',
    'batch update callback' => 'user_path_bulk_update_batch_process',
    'batch file' => 'user.path.inc',
    'batch file path' => backdrop_get_path('module', 'user'),
    'source prefix' => 'user/',
  );

  return $info;
}