You are here

public function LanguageInterface::getDirection in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::getDirection()

Gets the text direction (left-to-right or right-to-left).

Return value

string Either self::DIRECTION_LTR or self::DIRECTION_RTL.

2 methods override LanguageInterface::getDirection()
ConfigurableLanguage::getDirection in core/modules/language/src/Entity/ConfigurableLanguage.php
Gets the text direction (left-to-right or right-to-left).
Language::getDirection in core/lib/Drupal/Core/Language/Language.php
Gets the text direction (left-to-right or right-to-left).

File

core/lib/Drupal/Core/Language/LanguageInterface.php, line 127
Contains \Drupal\Core\Language\LanguageInterface.

Class

LanguageInterface
Defines a language.

Namespace

Drupal\Core\Language

Code

public function getDirection();