interface TranslatableInterface
Same name in this branch
- 11.1.x vendor/php-tuf/composer-stager/src/API/Translation/Value/TranslatableInterface.php \PhpTuf\ComposerStager\API\Translation\Value\TranslatableInterface
- 11.1.x core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface
- 11.1.x core/lib/Drupal/Core/Entity/TranslatableInterface.php \Drupal\Core\Entity\TranslatableInterface
@author Nicolas Grekas <p@tchwork.com>
Hierarchy
- interface \Symfony\Contracts\Translation\TranslatableInterface
Expanded class hierarchy of TranslatableInterface
All classes that implement TranslatableInterface
1 file declares its use of TranslatableInterface
- TranslatableNormalizer.php in vendor/
symfony/ serializer/ Normalizer/ TranslatableNormalizer.php
File
-
vendor/
symfony/ translation-contracts/ TranslatableInterface.php, line 17
Namespace
Symfony\Contracts\TranslationView source
interface TranslatableInterface {
public function trans(TranslatorInterface $translator, ?string $locale = null) : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
TranslatableInterface::trans | public | function |