Tokens or token types missing name property warning in Drupal Status Report for Entity Hierarchy fields
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3177299. --> Reported by: [murz](https://www.drupal.org/user/157092) Related to !49 !50 !51 !66 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>On <code>/admin/reports/status</code> report page warning shown about each Entity Hierarchy field, example:</p> <pre> Tokens or token types missing name property <br>&nbsp;&nbsp;&nbsp; $info['tokens']['node-field_parent']['weight']<br>&nbsp;&nbsp;&nbsp; $info['tokens']['faq_category-field_parent']['weight']<br>&nbsp;&nbsp;&nbsp; $info['tokens']['service_group-field_parent']['weight']<br>&nbsp;&nbsp;&nbsp; $info['tokens']['direction-field_parent']['weight']<br>&nbsp;&nbsp;&nbsp; $info['tokens']['pricelist-field_parent']['weight']</pre><p>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.</p> <p>I try to add 'description' value to 'columns' array into <code>Drupal\entity_hierarchy\Plugin\Field\FieldType\EntityReferenceHierarchy::schema()<code> function, but this isn't help.</code></code></p>
issue