EntityFormInterface::setStringTranslation

public EntityFormInterface::setStringTranslation(TranslationInterface $string_translation)

Sets the string translation service for this form.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The translation manager.

Return value

$this

File

core/lib/Drupal/Core/Entity/EntityFormInterface.php, line 116

Class

EntityFormInterface
Defines an interface for entity form classes.

Namespace

Drupal\Core\Entity

Code

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

Please login to continue.