Tokens or token types missing name property warning in Drupal Status Report for Entity Hierarchy fields

Created on 16 October 2020, about 4 years ago
Updated 20 November 2023, about 1 year ago

Problem/Motivation

On /admin/reports/status report page warning shown about each Entity Hierarchy field, example:

 Tokens or token types missing name property 
    $info['tokens']['node-field_parent']['weight']
    $info['tokens']['faq_category-field_parent']['weight']
    $info['tokens']['service_group-field_parent']['weight']
    $info['tokens']['direction-field_parent']['weight']
    $info['tokens']['pricelist-field_parent']['weight']

For fix this issue seems we must fill name (or description) somewhere, or provide separate info for token module, but I can't yet find right place for this.

I try to add 'description' value to 'columns' array into Drupal\entity_hierarchy\Plugin\Field\FieldType\EntityReferenceHierarchy::schema() function, but this isn't help.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code (module)

Created by

πŸ‡¦πŸ‡²Armenia murz Yerevan, Armenia

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