Browse Source

#3185016 Fix typo

merge-requests/7/head
Chi 4 years ago
parent
commit
b95167bc57
  1. 4
      src/TwigExtension.php

4
src/TwigExtension.php

@ -1333,13 +1333,13 @@ class TwigExtension extends AbstractExtension {
} }
/** /**
* Returns the tranlation for the given entity. * Returns the translation for the given entity.
* *
* @param object $entity * @param object $entity
* The entity to get the translation from. * The entity to get the translation from.
* *
* @param string $langcode * @param string $langcode
* (optional) For which language the trnaslation should be looked for, * (optional) For which language the translation should be looked for,
* defaults to the current language context. * defaults to the current language context.
* *
* @return EntityInterface * @return EntityInterface

Loading…
Cancel
Save