Issue #2618418 by plach: Docs follow-up for "hook_entity_create() affects the data of new translations of existing entities in unexpected and undocumented ways"
parent
d23edad556
commit
5098f7180e
|
@ -467,7 +467,7 @@ class EntityType implements EntityTypeInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks that the provided class is an instance of ConfigEntityStorage.
|
* Checks that the provided class is compatible with the current entity type.
|
||||||
*
|
*
|
||||||
* @param string $class
|
* @param string $class
|
||||||
* The class to check.
|
* The class to check.
|
||||||
|
|
|
@ -19,7 +19,8 @@ class KeyValueContentEntityStorage extends KeyValueEntityStorage implements Cont
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function createTranslation(ContentEntityInterface $entity, $langcode, array $values = []) {
|
public function createTranslation(ContentEntityInterface $entity, $langcode, array $values = []) {
|
||||||
// @todo
|
// @todo Complete the content entity storage implementation in
|
||||||
|
// https://www.drupal.org/node/2618436.
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue