Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!1361
Issue
#3221375
: Wrong language field labels after drupal_rebuild()
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3221375
: Wrong language field labels after drupal_rebuild()
issue/drupal-3221375:3221375-wrong-language-field
into
9.3.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Open
Konrad Szymczak
requested to merge
issue/drupal-3221375:3221375-wrong-language-field
into
9.3.x
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
9.3.x
9.3.x (HEAD)
and
latest version
latest version
f912b1d3
1 commit,
3 years ago
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
core/lib/Drupal/Core/Entity/EntityFieldManager.php
+
1
−
0
Options
@@ -347,6 +347,7 @@ public function getFieldDefinitions($entity_type_id, $bundle) {
}
else
{
// Rebuild the definitions and put it into the cache.
$this
->
languageManager
->
setConfigOverrideLanguage
(
$this
->
languageManager
->
getCurrentLanguage
());
$bundle_field_definitions
=
$this
->
buildBundleFieldDefinitions
(
$entity_type_id
,
$bundle
,
$base_field_definitions
);
$this
->
cacheSet
(
$cid
,
$bundle_field_definitions
,
Cache
::
PERMANENT
,
[
'entity_types'
,
'entity_field_info'
]);
}
Loading