LanguageInterface::getDirection

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();
doc_Drupal
2016-10-29 09:22:28
Comments
Leave a Comment

Please login to continue.