Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Notice: Undefined index: entity_type in Drupal\restui\Controller\RestUIController->listResources() (line 144 of modules/restui/src/Controller/RestUIController.php).
This is due to dblog entity note having key entity_type.
Comment | File | Size | Author |
---|---|---|---|
#2 | ResourceBase-hierarchy.png | 6.88 KB | clemens.tolboom |
Comments
Comment #1
clemens.tolboomComment #2
clemens.tolboomDBLogResource is added by
\Drupal\rest\Plugin\Type\ResourcePluginManager
which are picked up by
due to the
Drupal\rest\Annotation\RestResource
annotation.There is nothing wrong I guess with the hierarchy.
This will prob be solved (hidden under the carpet) through #2303369: Until #2300677 is fixed, show in REST UI that config entity resources are read-only
Comment #3
clemens.tolboomWe should not use the key 'entity_type' but get to the canonical path. For dblog
Comment #4
clemens.tolboomThis is probably solved through #2352743: Use resource canonical to render URL resources in RestUIController