How to hide the user account tabs 06/04/2016 Juan Jesús Trigo Drupal/PHP Senior developer /** * Implements hook_menu_alter(). */ function MYMODULE_menu_alter(&$items) { $items['user/register']['type'] = MENU_CALLBACK; $items['user/password']['type'] = MENU_CALLBACK; $items['user/login']['type'] = MENU_CALLBACK; }
Users Reset the administrative user password with Drush in Drupal 7 Antonio Jesús Mantis Benítez In this snippet we will reset the Drupal administrative user password using a Drush command Read article Reset the administrative user password with Drush in Drupal 7 La Drupalera ajmantis
Others Problem installing composer on ubuntu with php versions Cristo Perera Rincón The problem I raise is due to duality of php (cli), which means several versions of php are installed in our computer. Read article Problem installing composer on ubuntu with php versions La Drupalera cperera
Forms How to render a form programmatically in Drupal 8? José Antonio Rodríguez Carvajal The purpose of this Drupal 8’s snippet is to learn how to render a form programmatically in Drupal 8. Read article How to render a form programmatically in Drupal 8? La Drupalera jacarvajal