function _blog_pathauto in Pathauto 6.2
Implements hook_pathauto().
1 call to _blog_pathauto()
- blog_pathauto in ./
pathauto.module - Implements hook_pathauto() on behalf of blog.module.
File
- ./
pathauto.pathauto.inc, line 296 - Pathauto integration for core modules.
Code
function _blog_pathauto($op) {
switch ($op) {
case 'settings':
$settings = array();
$settings['module'] = 'blog';
$settings['token_type'] = 'user';
$settings['groupheader'] = t('Blog paths');
$settings['patterndescr'] = t('Pattern for blog page paths');
$settings['patterndefault'] = 'blogs/[user-raw]';
$settings['batch_update_callback'] = 'blog_pathauto_bulk_update_batch_process';
$settings['batch_file'] = drupal_get_path('module', 'pathauto') . '/pathauto.pathauto.inc';
return (object) $settings;
default:
break;
}
}