Make product description field configurable

Created on 17 October 2017, over 6 years ago
Updated 26 January 2023, over 1 year ago

Currently the product description field is hardcoded to the name "body". We should make this configurable since it can be deleted. At least we need to check if it exists, because currenlty a fatal error is being thrown if was deleted:

InvalidArgumentException: Field body is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 509 of /var/www/drupal/public_html/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php).

✨ Feature request
Status

RTBC

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland Lukas von Blarer

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024