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

Remove os arquivos de config field.storage, field.field e translation
referentes ao field_user_category, 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:47:34 -03:00
parent aac6256b27
commit 1dafd4a865
6 changed files with 2 additions and 69 deletions

View File

@@ -42,19 +42,6 @@ function site_users_install() {
]);
}
// Campo Categoria.
if (!$form_display->getComponent('field_user_category')) {
$form_display->setComponent('field_user_category', [
'type' => 'string_textfield',
'weight' => 12,
'settings' => [
'size' => 60,
'placeholder' => '',
],
'region' => 'content',
]);
}
// Campo Fotos - Media Library widget.
if (!$form_display->getComponent('field_user_photos')) {
$form_display->setComponent('field_user_photos', [
@@ -115,19 +102,6 @@ function site_users_install() {
]);
}
// Campo Categoria.
if (!$view_display->getComponent('field_user_category')) {
$view_display->setComponent('field_user_category', [
'type' => 'string',
'weight' => 12,
'label' => 'above',
'settings' => [
'link_to_entity' => FALSE,
],
'region' => 'content',
]);
}
// Campo Fotos.
if (!$view_display->getComponent('field_user_photos')) {
$view_display->setComponent('field_user_photos', [