You are here

public function ConfigurableLanguage::getDirection in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\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 220
Contains \Drupal\language\Entity\ConfigurableLanguage.

Class

ConfigurableLanguage
Defines the ConfigurableLanguage entity.

Namespace

Drupal\language\Entity

Code

public function getDirection() {
  return $this->direction;
}