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.
| Comment | File | Size | Author |
|---|---|---|---|
| language-direction.patch | 2.84 KB | tstoeckler |
Comments
Comment #1
catchComment #3
webchickCommitted and pushed to 8.x. Thanks!
Comment #4
yesct commenteduh... duplicate of #2352067: replace 'rtl' and 'ltr' strings with constants, again ?