- Issue created by @mlncn
- πΊπΈUnited States mlncn Minneapolis, MN, USA
> $fields = \Drupal::service('value_revisions.settings')->fieldsInfo($entity); = [ "title" => [ "field_type" => "string", "widget_type" => "string_textfield", ], "field_addresses" => [ "field_type" => "entity_reference", "widget_type" => "inline_entity_form_complex", ], "field_aka" => [ "field_type" => "string", "widget_type" => "string_textfield", ], "field_alternate_names" => [ "field_type" => "string", "widget_type" => "string_textfield", ], "field_email_addresses" => [ "field_type" => "email", "widget_type" => "email_default", ], "field_industries" => [ "field_type" => "list_string", "widget_type" => "options_buttons", ], "field_naics_codes" => [ "field_type" => "string", "widget_type" => "string_textfield", ], "field_phone_numbers" => [ "field_type" => "telephone", "widget_type" => "telephone_default", ], "field_related_actors" => [ "field_type" => "entity_reference", "widget_type" => "entity_reference_autocomplete", ], "field_tags" => [ "field_type" => "entity_reference", "widget_type" => "", ], "field_visas" => [ "field_type" => "entity_reference", "widget_type" => "entity_reference_autocomplete", ], "field_websites" => [ "field_type" => "link", "widget_type" => "link_default", ], ]
When a widget is blank, as in this example for tags, that is because at some point after configuring Value Revisions for the field, the decision was made not to show the field on the form.
- πΊπΈUnited States hongpong Philadelphia
well this worked great anyway. call it fixed imo. well done.