Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a0fb280d
Commit
a0fb280d
authored
Dec 14, 2013
by
Alex Pott
Browse files
Issue
#2134079
by fago: Storage-related methods are not invoked for computed fields.
parent
abdb0c52
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Entity/FieldableEntityStorageControllerBase.php
View file @
a0fb280d
...
...
@@ -337,7 +337,7 @@ protected function invokeTranslationHooks(ContentEntityInterface $entity) {
protected
function
invokeFieldMethod
(
$method
,
ContentEntityInterface
$entity
)
{
foreach
(
array_keys
(
$entity
->
getTranslationLanguages
())
as
$langcode
)
{
$translation
=
$entity
->
getTranslation
(
$langcode
);
foreach
(
$translation
as
$field
)
{
foreach
(
$translation
->
getProperties
(
TRUE
)
as
$field
)
{
$field
->
$method
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment