Make product description field configurable

Created on 17 October 2017, about 7 years ago
Updated 19 December 2024, 3 days 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

Merge Requests

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.71.5 2024