Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
LanguageEntityFieldAccessHookTest::testHookEntityFieldAccess function core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php Tests compatibility with hook_entity_field_access().
LanguageException class core/modules/language/src/Exception/LanguageException.php A base exception thrown in any language system operations.
LanguageException.php file core/modules/language/src/Exception/LanguageException.php
LanguageFallbackTest class core/modules/language/tests/src/Kernel/LanguageFallbackTest.php Tests the language fallback behavior.
LanguageFallbackTest.php file core/modules/language/tests/src/Kernel/LanguageFallbackTest.php
LanguageFallbackTest::setUp function core/modules/language/tests/src/Kernel/LanguageFallbackTest.php
LanguageFallbackTest::testCandidates function core/modules/language/tests/src/Kernel/LanguageFallbackTest.php Tests language fallback candidates.
LanguageField class core/modules/views/src/Plugin/views/field/LanguageField.php Defines a field handler to translate a language into its readable form.
LanguageField.php file core/modules/views/src/Plugin/views/field/LanguageField.php
LanguageField::buildOptionsForm function core/modules/views/src/Plugin/views/field/LanguageField.php Default options form that provides the label widget that all fields
should have.
LanguageField::defineOptions function core/modules/views/src/Plugin/views/field/LanguageField.php Information about options for all kinds of purposes will be held here.
LanguageField::render function core/modules/views/src/Plugin/views/field/LanguageField.php Renders the field.
LanguageFilter class core/modules/views/src/Plugin/views/filter/LanguageFilter.php Provides filtering by language.
LanguageFilter.php file core/modules/views/src/Plugin/views/filter/LanguageFilter.php
LanguageFilter::$languageManager property core/modules/views/src/Plugin/views/filter/LanguageFilter.php The language manager.
LanguageFilter::create function core/modules/views/src/Plugin/views/filter/LanguageFilter.php Creates an instance of the plugin.
LanguageFilter::getValueOptions function core/modules/views/src/Plugin/views/filter/LanguageFilter.php Child classes should be used to override this function and set the
'value options', unless 'options callback' is defined as a valid function
or static public method to generate these values.
LanguageFilter::query function core/modules/views/src/Plugin/views/filter/LanguageFilter.php Add this filter to the query.
LanguageFilter::__construct function core/modules/views/src/Plugin/views/filter/LanguageFilter.php Constructs a new LanguageFilter instance.
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::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/LanguageFormatter.php Creates an instance of the plugin.
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 this class.
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.
LanguageInterface interface core/lib/Drupal/Core/Language/LanguageInterface.php Defines a language.
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).

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