function user_theme

user_theme()

Implements hook_theme().

File

core/modules/user/user.module, line 97
Enables the user registration and login system.

Code

function user_theme() {
  return array(
    'user' => array(
      'render element' => 'elements',
    ),
    'username' => array(
      'variables' => array('account' => NULL, 'attributes' => array(), 'link_options' => array()),
    ),
  );
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!user!user.module/function/user_theme/8.1.x