LOCALE_TRANSLATION_SOURCE_COMPARE_LT

Same name and namespace in other branches
  1. 10 core/modules/locale/locale.translation.inc \LOCALE_TRANSLATION_SOURCE_COMPARE_LT
  2. 11.x core/modules/locale/locale.translation.inc \LOCALE_TRANSLATION_SOURCE_COMPARE_LT
  3. 9 core/modules/locale/locale.translation.inc \LOCALE_TRANSLATION_SOURCE_COMPARE_LT
  4. 8.9.x core/modules/locale/locale.translation.inc \LOCALE_TRANSLATION_SOURCE_COMPARE_LT

Comparison result of source files timestamps.

Timestamp of source 1 is less than the timestamp of source 2.

Deprecated

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement.

See also

https://www.drupal.org/node/3569330

_locale_translation_source_compare()

1 use of LOCALE_TRANSLATION_SOURCE_COMPARE_LT
_locale_translation_source_compare in core/modules/locale/locale.translation.inc
Compare two update sources, looking for the newer one.

File

core/modules/locale/locale.translation.inc, line 24

Code

const LOCALE_TRANSLATION_SOURCE_COMPARE_LT = -1;

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