diff --git a/core/modules/comment/src/CommentViewsData.php b/core/modules/comment/src/CommentViewsData.php index f84e221..8506452 100644 --- a/core/modules/comment/src/CommentViewsData.php +++ b/core/modules/comment/src/CommentViewsData.php @@ -192,7 +192,6 @@ public function getViewsData() { $data['comment_field_data']['uid']['relationship']['title'] = t('Author'); $data['comment_field_data']['uid']['relationship']['help'] = t("The User ID of the comment's author."); $data['comment_field_data']['uid']['relationship']['label'] = t('author'); - $data['comment_field_data']['uid']['field']['id'] = 'user'; $data['comment_field_data']['pid']['title'] = t('Parent CID'); $data['comment_field_data']['pid']['relationship']['title'] = t('Parent comment'); diff --git a/core/modules/node/config/optional/views.view.content.yml b/core/modules/node/config/optional/views.view.content.yml index a3387be..f8a7273 100644 --- a/core/modules/node/config/optional/views.view.content.yml +++ b/core/modules/node/config/optional/views.view.content.yml @@ -208,11 +208,10 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_user: true - overwrite_anonymous: false - anonymous_text: '' - format_username: true - plugin_id: user_name + type: string + settings: + link_to_entity: true + plugin_id: field entity_type: user entity_field: name status: diff --git a/core/modules/node/config/optional/views.view.content_recent.yml b/core/modules/node/config/optional/views.view.content_recent.yml index 7cd39e1..9ee76ea 100644 --- a/core/modules/node/config/optional/views.view.content_recent.yml +++ b/core/modules/node/config/optional/views.view.content_recent.yml @@ -185,13 +185,12 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_user: true - overwrite_anonymous: false - anonymous_text: '' - format_username: true entity_type: user entity_field: name - plugin_id: user_name + type: string + settings: + link_to_entity: true + plugin_id: field edit_node: id: edit_node table: node diff --git a/core/modules/node/src/NodeViewsData.php b/core/modules/node/src/NodeViewsData.php index 939e51b..a3ca5f0 100644 --- a/core/modules/node/src/NodeViewsData.php +++ b/core/modules/node/src/NodeViewsData.php @@ -226,7 +226,6 @@ public function getViewsData() { $data['node_field_data']['uid']['help'] = t('The user authoring the content. If you need more fields than the uid add the content: author relationship'); $data['node_field_data']['uid']['filter']['id'] = 'user_name'; - $data['node_field_data']['uid']['field']['id'] = 'user'; $data['node_field_data']['uid']['relationship']['title'] = t('Content author'); $data['node_field_data']['uid']['relationship']['help'] = t('Relate content to the user who created it.'); $data['node_field_data']['uid']['relationship']['label'] = t('author'); diff --git a/core/modules/user/config/optional/views.view.user_admin_people.yml b/core/modules/user/config/optional/views.view.user_admin_people.yml index 57dd4e4..cf34555 100644 --- a/core/modules/user/config/optional/views.view.user_admin_people.yml +++ b/core/modules/user/config/optional/views.view.user_admin_people.yml @@ -237,11 +237,21 @@ display: hide_empty: false empty_zero: false hide_alter_empty: true - link_to_user: true - overwrite_anonymous: false - anonymous_text: '' - format_username: true - plugin_id: user_name + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + plugin_id: field entity_type: user entity_field: name status: @@ -560,7 +570,8 @@ display: hide_alter_empty: true click_sort_column: value type: basic_string - settings: { } + settings: + link_to_entity: false group_column: value group_columns: { } group_rows: true diff --git a/core/modules/user/config/optional/views.view.who_s_new.yml b/core/modules/user/config/optional/views.view.who_s_new.yml index 0f10a8d..d0c02b3 100644 --- a/core/modules/user/config/optional/views.view.who_s_new.yml +++ b/core/modules/user/config/optional/views.view.who_s_new.yml @@ -58,7 +58,10 @@ display: table: users_field_data field: name label: '' - plugin_id: user_name + type: string + settings: + link_to_entity: true + plugin_id: field alter: alter_text: false make_link: false @@ -70,8 +73,6 @@ display: html: false hide_empty: false empty_zero: false - link_to_user: true - overwrite_anonymous: false relationship: none group_type: group admin_label: '' @@ -86,8 +87,6 @@ display: element_default_classes: true empty: '' hide_alter_empty: true - anonymous_text: '' - format_username: true entity_type: user entity_field: name filters: diff --git a/core/modules/user/config/optional/views.view.who_s_online.yml b/core/modules/user/config/optional/views.view.who_s_online.yml index db54c5b..746ecc3 100644 --- a/core/modules/user/config/optional/views.view.who_s_online.yml +++ b/core/modules/user/config/optional/views.view.who_s_online.yml @@ -65,7 +65,10 @@ display: table: users_field_data field: name label: '' - plugin_id: user_name + type: string + settings: + link_to_entity: true + plugin_id: field alter: alter_text: false make_link: false @@ -77,8 +80,6 @@ display: html: false hide_empty: false empty_zero: false - link_to_user: true - overwrite_anonymous: false relationship: none group_type: group admin_label: '' @@ -93,8 +94,6 @@ display: element_default_classes: true empty: '' hide_alter_empty: true - anonymous_text: '' - format_username: true entity_type: user entity_field: name filters: diff --git a/core/modules/user/src/UserViewsData.php b/core/modules/user/src/UserViewsData.php index d47651c..cfe3ff2 100644 --- a/core/modules/user/src/UserViewsData.php +++ b/core/modules/user/src/UserViewsData.php @@ -80,7 +80,6 @@ public function getViewsData() { ); $data['users_field_data']['name']['help'] = t('The user or author name.'); - $data['users_field_data']['name']['field']['id'] = 'user_name'; $data['users_field_data']['name']['filter']['title'] = t('Name (raw)'); $data['users_field_data']['name']['filter']['help'] = t('The user or author name. This filter does not check if the user exists and allows partial matching. Does not use autocomplete.'); diff --git a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml index 30842f5..0beefc0 100644 --- a/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml +++ b/core/modules/user/tests/modules/user_test_views/test_views/views.view.test_user_data.yml @@ -51,9 +51,10 @@ display: html: false hide_empty: false empty_zero: false - link_to_user: true - overwrite_anonymous: false - plugin_id: user_name + type: string + settings: + link_to_entity: true + plugin_id: field entity_type: user entity_field: name data: