diff --git a/core/modules/user/src/UserAccessControlHandler.php b/core/modules/user/src/UserAccessControlHandler.php index 91d163e..ab104f0 100644 --- a/core/modules/user/src/UserAccessControlHandler.php +++ b/core/modules/user/src/UserAccessControlHandler.php @@ -95,8 +95,6 @@ protected function checkFieldAccess($operation, FieldDefinitionInterface $field_ case 'preferred_langcode': case 'preferred_admin_langcode': - case 'signature': - case 'signature_format': case 'timezone': case 'mail': // Allow view access to own mail address and other personalization diff --git a/core/modules/user/src/UserViewsData.php b/core/modules/user/src/UserViewsData.php index e043ac1..621da71 100644 --- a/core/modules/user/src/UserViewsData.php +++ b/core/modules/user/src/UserViewsData.php @@ -218,24 +218,6 @@ public function getViewsData() { ), ); - unset($data['users_field_data']['signature']); - unset($data['users_field_data']['signature_format']); - - if (\Drupal::moduleHandler()->moduleExists('filter')) { - $data['users_field_data']['signature'] = array( - 'title' => t('Signature'), - 'help' => t("The user's signature."), - 'field' => array( - 'id' => 'markup', - 'format' => filter_fallback_format(), - 'click sortable' => FALSE, - ), - 'filter' => array( - 'id' => 'string', - ), - ); - } - if (\Drupal::moduleHandler()->moduleExists('content_translation')) { $data['users']['translation_link'] = array( 'title' => t('Translation link'), diff --git a/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php b/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php index 04cdef9..79463bc 100644 --- a/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php +++ b/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php @@ -205,8 +205,6 @@ public function hiddenUserSettingsProvider() { $fields = array( 'preferred_langcode', 'preferred_admin_langcode', - 'signature', - 'signature_format', 'timezone', 'mail', ); diff --git a/core/modules/views_ui/src/Tests/HandlerTest.php b/core/modules/views_ui/src/Tests/HandlerTest.php index 4c9c786..eebd4ed 100644 --- a/core/modules/views_ui/src/Tests/HandlerTest.php +++ b/core/modules/views_ui/src/Tests/HandlerTest.php @@ -123,8 +123,8 @@ public function testUICRUD() { $add_handler_url = "admin/structure/views/nojs/add-handler/test_view_empty/default/field"; $type_info = $handler_types['field']; - $this->drupalPostForm($add_handler_url, array('name[users_field_data.signature]' => TRUE), t('Add and configure @handler', array('@handler' => $type_info['ltitle']))); - $id = 'signature'; + $this->drupalPostForm($add_handler_url, array('name[users_field_data.name]' => TRUE), t('Add and configure @handler', array('@handler' => $type_info['ltitle']))); + $id = 'name'; $edit_handler_url = "admin/structure/views/nojs/handler/test_view_empty/default/field/$id"; $this->assertUrl($edit_handler_url, array(), 'The user got redirected to the handler edit form.');