Search for hasTranslation

  1. Search 7.x for hasTranslation
  2. Search 9.5.x for hasTranslation
  3. Search 8.9.x for hasTranslation
  4. Search 10.3.x for hasTranslation
  5. Other projects
Title Object type File name Summary
ConfigMapperInterface::hasTranslation function core/modules/config_translation/src/ConfigMapperInterface.php Checks whether there is already a translation for this mapper.
ConfigNamesMapper::hasTranslation function core/modules/config_translation/src/ConfigNamesMapper.php Checks whether there is already a translation for this mapper.
ConfigNamesMapperTest::providerTestHasTranslation function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Provides data for ConfigNamesMapperTest::testHasTranslation().
ConfigNamesMapperTest::testHasTranslation function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Tests ConfigNamesMapper::hasTranslation().
ContentEntityBase::hasTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::hasTranslationChanges function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityHasChangesTest::testHasTranslationChanges function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Tests the correct functionality of the hasTranslationChanges() function.
LocaleConfigManager::hasTranslation function core/modules/locale/src/LocaleConfigManager.php Checks whether a language has configuration translation.
LocaleConfigManagerTest::testHasTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php Tests hasTranslation().
MenuLink::hasTranslation function core/modules/menu_link_content/src/Plugin/migrate/source/MenuLink.php Determines if this menu_link has an i18n translation.
TranslatableInterface::hasTranslation function core/lib/Drupal/Core/TypedData/TranslatableInterface.php Checks there is a translation for the given language code.
TranslatableInterface::hasTranslationChanges function core/lib/Drupal/Core/Entity/TranslatableInterface.php Determines if the current translation of the entity has unsaved changes.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.