ConfigurableLanguage::getDirection

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;
}
doc_Drupal
2016-10-29 08:55:06
Comments
Leave a Comment

Please login to continue.