Returns responses for User module routes.
Expanded class hierarchy of UserRouteController
class UserRouteController extends ContainerAware {
/**
* Returns the user registration form.
*
* @return array
* A renderable array containing the user registration form.
*/
public function register() {
$account = entity_create('user', array());
return entity_get_form($account, 'register');
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerAware:: |
protected | property | @api | |
ContainerAware:: |
public | function |
Sets the Container associated with this Controller. Overrides ContainerAwareInterface:: |
|
UserRouteController:: |
public | function | Returns the user registration form. |