Feature Request:
For bundle listing resource EntityBundlesResource currently we expose bundle key and label, however I think it would be helpful to have description field as well where we are listing the forms on front end.

Solution Proposed:
in src/Plugin/rest/resource/EntityBundlesResource.php
- $bundles[$entity->id()] = $entity->label();
+ $bundles[$entity->id()]['label'] = $entity->label();
+ $bundles[$entity->id()]['description'] = $entity->getDescription();

Comments

arpitr created an issue. See original summary.

arpitr’s picture

Status: Active » Needs review
StatusFileSize
new641 bytes

Patch to add bundle description field.

geoanders’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
geoanders’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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