Issue #2843060 by amateescu: Term field "parent" could not be handled properly by ContentEntityBase::hasTranslationChanges

merge-requests/1654/head
Alex Pott 2018-03-14 22:17:56 +00:00
parent e81312ba48
commit 2d0c3eb475
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 0 additions and 13 deletions

View File

@ -237,17 +237,4 @@ class Term extends ContentEntityBase implements TermInterface {
return $this->bundle();
}
/**
* {@inheritdoc}
*/
protected function getFieldsToSkipFromTranslationChangesCheck() {
// @todo the current implementation of the parent field makes it impossible
// for ::hasTranslationChanges() to correctly check the field for changes,
// so it is currently skipped from the comparision and has to be fixed by
// https://www.drupal.org/node/2843060.
$fields = parent::getFieldsToSkipFromTranslationChangesCheck();
$fields[] = 'parent';
return $fields;
}
}