function ConfigurableLanguage::getDirection
Gets the text direction (left-to-right or right-to-left).
Return value
string Either self::DIRECTION_LTR or self::DIRECTION_RTL.
Overrides LanguageInterface::getDirection
File
- 
              core/
modules/ language/ src/ Entity/ ConfigurableLanguage.php, line 243  
Class
- ConfigurableLanguage
 - Defines the ConfigurableLanguage entity.
 
Namespace
Drupal\language\EntityCode
public function getDirection() {
  return $this->direction;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.