feat: Remove field_user_dept_code (gerenciado em outro módulo)

Remove os arquivos de config field.storage, field.field e translation
referentes ao field_user_dept_code, e elimina todas as referências
ao campo em site_users.module, site_users.install e UserInfoBlock.php.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-23 13:46:42 -03:00
parent cae30b472a
commit aac6256b27
6 changed files with 2 additions and 69 deletions

View File

@@ -110,7 +110,7 @@ class UserInfoBlock extends BlockBase implements ContainerFactoryPluginInterface
'name' => $this->getFieldValue($user, 'field_user_name'),
'phone' => $this->getFieldValue($user, 'field_user_phone'),
'category' => $this->getFieldValue($user, 'field_user_category'),
'dept_code' => $this->getFieldValue($user, 'field_user_dept_code'),
'bio' => $this->getFieldValue($user, 'field_user_bio'),
'photo_url' => $default_photo_url,
'photo_alt' => $default_photo ? $default_photo->label() : '',