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

Issue information

From user: murz

Related to !66 (merged) !51 !50 !49

Contribution record

Fork management

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.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information