Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
LanguageFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php Plugin implementation of the 'language' formatter.
LanguageFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php
LanguageFormatter::$languageManager property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php The language manager.
LanguageFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php Defines the default settings for this plugin.
LanguageFormatter::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php Returns a form to configure settings for the formatter.
LanguageFormatter::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php Returns a short summary for the current formatter settings.
LanguageFormatter::viewValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php Generate the output appropriate for one field item.
LanguageFormatter::__construct function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php Constructs a LanguageFormatter instance.
LanguageFormBase class core/modules/language/src/Form/LanguageFormBase.php Base form for language add and edit forms.
LanguageFormBase.php file core/modules/language/src/Form/LanguageFormBase.php
LanguageFormBase::$languageManager property core/modules/language/src/Form/LanguageFormBase.php The configurable language manager.
LanguageFormBase::commonForm function core/modules/language/src/Form/LanguageFormBase.php Common elements of the language addition and editing form.
LanguageFormBase::create function core/modules/language/src/Form/LanguageFormBase.php Instantiates a new instance of the implementing class using autowiring.
LanguageFormBase::validateCommon function core/modules/language/src/Form/LanguageFormBase.php Validates the language editing element.
LanguageFormBase::__construct function core/modules/language/src/Form/LanguageFormBase.php Constructs a ContentEntityForm object.
LanguageHooks class core/modules/language/src/Hook/LanguageHooks.php Hook implementations for language.
LanguageHooks.php file core/modules/language/src/Hook/LanguageHooks.php
LanguageHooks::elementInfoAlter function core/modules/language/src/Hook/LanguageHooks.php Implements hook_element_info_alter().
LanguageHooks::entityBaseFieldInfoAlter function core/modules/language/src/Hook/LanguageHooks.php Implements hook_entity_base_field_info_alter().
LanguageHooks::entityBundleDelete function core/modules/language/src/Hook/LanguageHooks.php Implements hook_entity_bundle_delete().
LanguageHooks::entityFieldAccess function core/modules/language/src/Hook/LanguageHooks.php Implements hook_entity_field_access().
LanguageHooks::fieldInfoAlter function core/modules/language/src/Hook/LanguageHooks.php Implements hook_field_info_alter().
LanguageHooks::formAlter function core/modules/language/src/Hook/LanguageHooks.php Implements hook_form_alter().
LanguageHooks::help function core/modules/language/src/Hook/LanguageHooks.php Implements hook_help().
LanguageHooks::languageTypesInfoAlter function core/modules/language/src/Hook/LanguageHooks.php Implements hook_language_types_info_alter().
LanguageHooks::modulesInstalled function core/modules/language/src/Hook/LanguageHooks.php Implements hook_modules_installed().
LanguageHooks::processLanguageSelect function core/modules/language/src/Hook/LanguageHooks.php Processes a language select list form element.
LanguageHooks::tourTipsAlter function core/modules/language/src/Hook/LanguageHooks.php Implements hook_tour_tips_alter().
LanguageInterface interface core/lib/Drupal/Core/Language/LanguageInterface.php Defines an interface for languages.
LanguageInterface.php file core/lib/Drupal/Core/Language/LanguageInterface.php
LanguageInterface::DIRECTION_LTR constant core/lib/Drupal/Core/Language/LanguageInterface.php Language written left to right. Possible value of $language->direction.
LanguageInterface::DIRECTION_RTL constant core/lib/Drupal/Core/Language/LanguageInterface.php Language written right to left. Possible value of $language->direction.
LanguageInterface::getDirection function core/lib/Drupal/Core/Language/LanguageInterface.php Gets the text direction (left-to-right or right-to-left).
LanguageInterface::getId function core/lib/Drupal/Core/Language/LanguageInterface.php Gets the ID (language code).
LanguageInterface::getName function core/lib/Drupal/Core/Language/LanguageInterface.php Gets the name of the language.
LanguageInterface::getWeight function core/lib/Drupal/Core/Language/LanguageInterface.php Gets the weight of the language.
LanguageInterface::isDefault function core/lib/Drupal/Core/Language/LanguageInterface.php Returns whether this language is the default language.
LanguageInterface::isLocked function core/lib/Drupal/Core/Language/LanguageInterface.php Returns whether this language is locked.
LanguageInterface::LANGCODE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php Language code referring to the default language of data, e.g. of an entity.
LanguageInterface::LANGCODE_NOT_APPLICABLE constant core/lib/Drupal/Core/Language/LanguageInterface.php The language code used when the marked object has no linguistic content.
LanguageInterface::LANGCODE_NOT_SPECIFIED constant core/lib/Drupal/Core/Language/LanguageInterface.php The language code used when no language is explicitly assigned (yet).
LanguageInterface::LANGCODE_SITE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php Language code referring to site's default language.
LanguageInterface::LANGCODE_SYSTEM constant core/lib/Drupal/Core/Language/LanguageInterface.php Special system language code (only applicable to UI language).
LanguageInterface::STATE_ALL constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state used when referring to all languages.
LanguageInterface::STATE_CONFIGURABLE constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state when referring to configurable languages.
LanguageInterface::STATE_LOCKED constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state when referring to locked languages.
LanguageInterface::STATE_SITE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state used when referring to the site's default language.
LanguageInterface::TYPE_CONTENT constant core/lib/Drupal/Core/Language/LanguageInterface.php The type of language used to define the content language.
LanguageInterface::TYPE_INTERFACE constant core/lib/Drupal/Core/Language/LanguageInterface.php The type of language used to select the user interface.
LanguageInterface::TYPE_URL constant core/lib/Drupal/Core/Language/LanguageInterface.php The type of language used for URLs.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.