Suggestion for: (1809494) Creating a configuration entity type

Created on 4 May 2024, 10 months ago

Documentation location/URL

https://www.drupal.org/docs/drupal-apis/configuration-api/creating-a-con...

Problem/Motivation

The documentation shows an example to create a Configuration Entity Type and at some point it shows the code for the handler definition of the list_builder. In the example it shows the class: "Drupal\example\Controller\ExampleListBuilder". I've tested it and didn't work. I found a good example of this in the Next module, where it used the equivalent to: "Drupal\example\ExampleListBuilder".. tested... worked. So I guess the documentation is missleading.

Proposed resolution

I would simply correct the plugin annotation and change the "ExampleListBuilder" accordingly.

Thanks.

🐛 Bug report
Status

Active

Component

Correction/Clarification

Created by

🇪🇸Spain juanjoespi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024