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

1
public function removeTranslation($langcode);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.