diff -u b/sources/tmgmt_config/src/ConfigSourcePluginUi.php b/sources/tmgmt_config/src/ConfigSourcePluginUi.php --- b/sources/tmgmt_config/src/ConfigSourcePluginUi.php +++ b/sources/tmgmt_config/src/ConfigSourcePluginUi.php @@ -139,6 +139,8 @@ $row = array( 'id' => $entity->id(), + // If the entity type is FieldConfig, we list the field of the fieldable + // entity type which doesn't have a link. 'title' => $entity->getEntityTypeId() == 'field_config' ? $label : $entity->link($label), ); @@ -307,6 +309,8 @@ $items[$item_id]['label'] = $entity->label(); $items[$item_id]['langcode'] = $entity->language()->getId(); } + // The type cannot be field_config, should be the id of the + // fieldable entity type. if ($type == 'field_config') { $type = $entities[reset($entity_ids)]->get('entity_type') . '_fields'; }