Problem/Motivation

#2070737: Change values of LanguageInterface::DIRECTION_(LTR/RTL) to ('ltr'/'rtl') changed the value of \Drupal\Core\Language\LanguageInterface::DIRECTION_LTR. Some code is still using 'ltr'.

Proposed resolution

Replace usages of 'ltr' with \Drupal\Core\Language\LanguageInterface::DIRECTION_LTR where appropriate.

Remaining tasks

User interface changes

None.

API changes

None.

CommentFileSizeAuthor
language-direction.patch2.84 KBtstoeckler

Comments

catch’s picture

Status: Needs review » Reviewed & tested by the community

  • webchick committed 68f7879 on 8.0.x
    Issue #2353393 by tstoeckler: Use LanguageInterface::DIRECTION_LTR...
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

yesct’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.