public 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 215
Class
- ConfigurableLanguage
- Defines the ConfigurableLanguage entity.
Namespace
Drupal\language\Entity
Code
public function getDirection() { return $this->direction; }
Please login to continue.