user_register_access

Definition

user_register_access()
modules/user/user.module, line 936

Code

<?php
function user_register_access() {
  return user_is_anonymous() && variable_get('user_register', 1);
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.