Drupal throws a fatal error: Call to undefined function module_invoke_all() in /modules/contrib/libraries/libraries.module on line 116
This is due to

function libraries_scan_info_files() {
...
  $directories = module_invoke_all('libraries_info_file_paths');
...

module_invoke_all appears to have been replaced by the ModuleHandler::invokeAll() method

CommentFileSizeAuthor
#1 2302457-module_invoke_all-1.patch514 bytesjyee
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jyee’s picture

Status: Active » Needs review
FileSize
514 bytes

patch attached.

tstoeckler’s picture

Status: Needs review » Closed (duplicate)

Sorry, I just committed the patch from #2309203: Replace Module system functions with module_handler service and now saw this issue, even though this one is older. The good news is that it's now fixed in 8.x-3.x the bad thing is that due to that you didn't get any commit credit for the patch. Sorry about that.

It's still very much appreciated that you care about Libraries API in D8, though! Thanks!

Status: Closed (duplicate) » Needs work

The last submitted patch, 1: 2302457-module_invoke_all-1.patch, failed testing.

tstoeckler’s picture

Status: Needs work » Closed (duplicate)
jyee’s picture

Working code > getting credit. Thanks for your work on the module!