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
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
Contexts Enabling context in a panel plugin Leandro Luvigne Including this plugin on the code, this will be able to access to asociated contexts to the panel. Read article Enabling context in a panel plugin La Drupalera lluvigne