After you enable module admin_menu on all pages of the site began to appear remarks following errors:

Notice: Use of undefined constant LANGUAGE_TYPE_INTERFACE - assumed 'LANGUAGE_TYPE_INTERFACE' in admin_menu_page_build() (line 247 of modules\admin_menu\admin_menu.module).
Notice: Use of undefined constant LANGUAGE_TYPE_INTERFACE - assumed 'LANGUAGE_TYPE_INTERFACE' in admin_menu_output() (line 501 of modules\admin_menu\admin_menu.module).

CommentFileSizeAuthor
#1 language_class-2012178-0.patch1.35 KBsergeypavlenko

Comments

sergeypavlenko’s picture

Assigned: sergeypavlenko » Unassigned
Status: Active » Needs review
StatusFileSize
new1.35 KB

The language is used Language class, now constant - LANGUAGE_TYPE_INTERFATSE in the core is not.

Fix issue.

lyricnz’s picture

Status: Needs review » Reviewed & tested by the community

Works for me

jibran’s picture

Issue summary: View changes

I have created a fork of admin_menu 8.x-3.x on github. Please help me fix it for Drupal 8
PRs are welcome. https://github.com/jibran/admin_menu

dave reid’s picture

Status: Reviewed & tested by the community » Needs work

Does the language() function still exists? I don't seem to find it anywhere.

sergeypavlenko’s picture

Assigned: Unassigned » sergeypavlenko

Hi

I'm will fix this.

dave reid’s picture

@sergeypavlenko: Thanks for helping solve this here.

jibran’s picture

thalles’s picture

Category: Bug report » Support request

This module has been deprecated for Drupal 8.
For Drupal 8: the Admin Toolbar provides an experience similar to admin_menu with the core toolbar.

thalles’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.