LOCALE_TRANSLATION_SOURCE_COMPARE_LT

Same name in other branches
  1. 9 core/modules/locale/locale.translation.inc \LOCALE_TRANSLATION_SOURCE_COMPARE_LT
  2. 10 core/modules/locale/locale.translation.inc \LOCALE_TRANSLATION_SOURCE_COMPARE_LT
  3. 11.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.

See also

_locale_translation_source_compare()

2 uses of LOCALE_TRANSLATION_SOURCE_COMPARE_LT
TranslationStatusForm::prepareUpdateData in core/modules/locale/src/Form/TranslationStatusForm.php
Prepare information about projects with available translation updates.
_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 17

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.