public function TranslatableInterface::removeTranslation in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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.
1 method overrides TranslatableInterface::removeTranslation()
- ContentEntityBase::removeTranslation in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Removes the translation identified by the given language code.
File
- core/
lib/ Drupal/ Core/ TypedData/ TranslatableInterface.php, line 111 - Contains \Drupal\Core\TypedData\TranslatableInterface.
Class
- TranslatableInterface
- Interface for translatable data.
Namespace
Drupal\Core\TypedDataCode
public function removeTranslation($langcode);