- Issue created by @elaman
- First commit to issue fork.
After recent core update this issue arises. Field type doesn't have annotation, which causes exception:
TypeError: Drupal\Core\Field\FieldTypeCategory::getDescription(): Return value must be of type Drupal\Core\StringTranslation\TranslatableMarkup, string returned in Drupal\Core\Field\FieldTypeCategory->getDescription() (line 26 of core/lib/Drupal/Core/Field/FieldTypeCategory.php).
Go to Configuration -> People -> Account settings -> Manage fields and add new field.
Needs work
2.0
Code