function _anonymous_publishing_pet_alias in Anonymous Publishing 7
Helper function to get the system alias for the anonymous user.
3 calls to _anonymous_publishing_pet_alias()
- anonymous_publishing_pet_admin_settings in modules/
pet/ anonymous_publishing_pet.module - Menu callback: Provide module settings page.
- anonymous_publishing_pet_comment_presave in modules/
pet/ anonymous_publishing_pet.module - Implements hook_comment_presave().
- _anonymous_publishing_pet_node_form in modules/
pet/ anonymous_publishing_pet.module - Helper function to make form alterations to input form.
File
- modules/
pet/ anonymous_publishing_pet.module, line 11 - Main hooks for Anonymous Publishing PET module.
Code
function _anonymous_publishing_pet_alias() {
$alias = variable_get('anonymous', 'Anonymous');
return $alias;
}