The config API has changed, causing an undefined function error stemming from line 82 of the controller.

$config = config('rest.settings')->get('resources') ?: array();

...needs to become...

    $config = \Drupal::config('rest.settings')->get('resources') ?: array();
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Barrett’s picture

Version: 8.x-1.6 » 8.x-1.x-dev
Status: Active » Needs review
FileSize
770 bytes

The attached patch resolves the reported issue.

Barrett’s picture

Found a few more instances in the controller file. Updating patch.

juampynr’s picture

Status: Needs review » Closed (won't fix)

Woops, already fixed at http://drupalcode.org/project/restui.git/commit/0902567. I am sorry, I did not see this issue before.

juampynr’s picture

Status: Closed (won't fix) » Fixed

Status: Fixed » Closed (fixed)

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