Issue #3226716 by beatrizrodrigues, joachim, xjm, lucienchalom: Missing return value documentation for TranslatableInterface::addTranslation()
parent
3e4ed27fe0
commit
4657466d12
|
@ -69,7 +69,7 @@ interface TranslatableInterface {
|
|||
* LanguageInterface::LANGCODE_DEFAULT
|
||||
* to get the data in default language.
|
||||
*
|
||||
* @return $this
|
||||
* @return \Drupal\Core\Entity\ContentEntityInterface
|
||||
* A typed data object for the translated data.
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
|
@ -80,7 +80,8 @@ interface TranslatableInterface {
|
|||
/**
|
||||
* Returns the translatable object in the language it was created.
|
||||
*
|
||||
* @return $this
|
||||
* @return \Drupal\Core\Entity\ContentEntityInterface
|
||||
* The translation object referring to the original language.
|
||||
*/
|
||||
public function getUntranslated();
|
||||
|
||||
|
@ -109,7 +110,8 @@ interface TranslatableInterface {
|
|||
* (optional) An array of initial values to be assigned to the translatable
|
||||
* fields. Defaults to none.
|
||||
*
|
||||
* @return $this
|
||||
* @return \Drupal\Core\Entity\ContentEntityInterface
|
||||
* A new entity translation object.
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* If an invalid or existing translation language is specified.
|
||||
|
|
Loading…
Reference in New Issue