public LanguageInterface::getDirection()
Gets the text direction (left-to-right or right-to-left).
Return value
string Either self::DIRECTION_LTR or self::DIRECTION_RTL.
File
- core/lib/Drupal/Core/Language/LanguageInterface.php, line 122
Class
- LanguageInterface
- Defines a language.
Namespace
Drupal\Core\Language
Code
public function getDirection();
Please login to continue.