You are here

constant LOCALE_TRANSLATION_SOURCE_COMPARE_LT in Drupal 9

Same name and namespace in other branches
  1. 8 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
Common API for interface translation.

Code

const LOCALE_TRANSLATION_SOURCE_COMPARE_LT = -1;