function TranslatableInterface::removeTranslation
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::removeTranslation()
- 10 core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::removeTranslation()
- 11.x core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::removeTranslation()
Removes the translation identified by the given language code.
Parameters
string $langcode: The language code identifying the translation to be removed.
File
-
core/
lib/ Drupal/ Core/ TypedData/ TranslatableInterface.php, line 126
Class
- TranslatableInterface
- Interface for translatable data.
Namespace
Drupal\Core\TypedDataCode
public function removeTranslation($langcode);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.