From be455a98506a1091e9e27ca3afe74d811e1ce3b1 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Thu, 6 Aug 2015 13:39:53 +0100 Subject: [PATCH] Issue #2541412 by John Cook: UriItem should have UriWidget as default_widget --- core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UriItem.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UriItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UriItem.php index 794d4b27f8b..3f7805b6546 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UriItem.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UriItem.php @@ -23,6 +23,7 @@ use Drupal\Core\TypedData\DataDefinition; * description = @Translation("An entity field containing a URI."), * no_ui = TRUE, * default_formatter = "uri_link", + * default_widget = "uri", * ) */ class UriItem extends StringItem {