Tuesday, July 17, 2012

Module - Disable user language

This module disables the language selector in the user profile form for all the users but the first user.
The default language for the site is still selectable in the language settings page (http://example.com/admin/settings/language).

Read More


No comments:

Post a Comment

only show translated menu items into current language (Drupal 8)

function MY_THEME_preprocess_menu(&$variables) {   if ($variables['menu_name'] == 'brancott-header-menu') {    $langu...