public function TranslatableInterface::removeTranslation

public TranslatableInterface::removeTranslation($langcode)

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 106

Class

TranslatableInterface
Interface for translatable data.

Namespace

Drupal\Core\TypedData

Code

public function removeTranslation($langcode);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!TranslatableInterface.php/function/TranslatableInterface::removeTranslation/8.1.x