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. Search 11.x for all
  6. Other projects
Title Object type File name Summary
LanguageAccessControlHandler class core/modules/language/src/LanguageAccessControlHandler.php Defines the access control handler for the language entity type.
LanguageAccessControlHandler.php file core/modules/language/src/LanguageAccessControlHandler.php
LanguageAccessControlHandler::checkAccess function core/modules/language/src/LanguageAccessControlHandler.php Performs access checks.
LanguageAddForm class core/modules/language/src/Form/LanguageAddForm.php Controller for language addition forms.
LanguageAddForm.php file core/modules/language/src/Form/LanguageAddForm.php
LanguageAddForm::actions function core/modules/language/src/Form/LanguageAddForm.php Returns an array of supported actions for the current entity form.
LanguageAddForm::copyFormValuesToEntity function core/modules/language/src/Form/LanguageAddForm.php Copies top-level form values to entity properties.
LanguageAddForm::form function core/modules/language/src/Form/LanguageAddForm.php Gets the actual form array to be built.
LanguageAddForm::getFormId function core/modules/language/src/Form/LanguageAddForm.php Returns a unique string identifying the form.
LanguageAddForm::save function core/modules/language/src/Form/LanguageAddForm.php Form submission handler for the 'save' action.
LanguageAddForm::validateCustom function core/modules/language/src/Form/LanguageAddForm.php Validates the language addition form on custom language button.
LanguageAddForm::validatePredefined function core/modules/language/src/Form/LanguageAddForm.php Element specific validator for the Add language button.
LanguageArgument class core/modules/views/src/Plugin/views/argument/LanguageArgument.php Defines an argument handler to accept a language.
LanguageArgument.php file core/modules/views/src/Plugin/views/argument/LanguageArgument.php
LanguageArgument::language function core/modules/views/src/Plugin/views/argument/LanguageArgument.php Returns the language name for a given langcode.
LanguageArgument::summaryName function core/modules/views/src/Plugin/views/argument/LanguageArgument.php Provides the name to use for the summary, defaults to the name field.
LanguageArgument::title function core/modules/views/src/Plugin/views/argument/LanguageArgument.php Get the title this argument will assign the view, given the argument.
LanguageBlock class core/modules/language/src/Plugin/Derivative/LanguageBlock.php Provides language switcher block plugin definitions for all languages.
LanguageBlock class core/modules/language/src/Plugin/Block/LanguageBlock.php Provides a 'Language switcher' block.
LanguageBlock.php file core/modules/language/src/Plugin/Derivative/LanguageBlock.php
LanguageBlock.php file core/modules/language/src/Plugin/Block/LanguageBlock.php
LanguageBlock::$languageManager property core/modules/language/src/Plugin/Block/LanguageBlock.php The language manager.
LanguageBlock::$pathMatcher property core/modules/language/src/Plugin/Block/LanguageBlock.php The path matcher.
LanguageBlock::blockAccess function core/modules/language/src/Plugin/Block/LanguageBlock.php Indicates whether the block should be shown.
LanguageBlock::build function core/modules/language/src/Plugin/Block/LanguageBlock.php Builds and returns the renderable array for this block plugin.
LanguageBlock::createPlaceholder function core/modules/language/src/Plugin/Block/LanguageBlock.php
LanguageBlock::getDerivativeDefinitions function core/modules/language/src/Plugin/Derivative/LanguageBlock.php Gets the definition of all derivatives of a base plugin.
LanguageBlock::__construct function core/modules/language/src/Plugin/Block/LanguageBlock.php Constructs a LanguageBlock object.
LanguageBlockSettingsVisibilityTest class core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php Tests that the language settings on block config appears correctly.
LanguageBlockSettingsVisibilityTest.php file core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php
LanguageBlockSettingsVisibilityTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php The theme to install as the default for testing.
LanguageBlockSettingsVisibilityTest::$modules property core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php Modules to install.
LanguageBlockSettingsVisibilityTest::testUnnecessaryLanguageSettingsVisibility function core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php Tests languages displayed in the language switcher.
LanguageBreadcrumbTest class core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php Tests breadcrumbs functionality.
LanguageBreadcrumbTest.php file core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php
LanguageBreadcrumbTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php The theme to install as the default for testing.
LanguageBreadcrumbTest::$modules property core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php Modules to install.
LanguageBreadcrumbTest::setUp function core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php
LanguageBreadcrumbTest::testBreadCrumbs function core/modules/language/tests/src/Functional/LanguageBreadcrumbTest.php Tests breadcrumbs with URL prefixes.
LanguageBrowserDetectionAcceptLanguageTest class core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php Tests browser language detection with different accept-language headers.
LanguageBrowserDetectionAcceptLanguageTest.php file core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php
LanguageBrowserDetectionAcceptLanguageTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php The theme to install as the default for testing.
LanguageBrowserDetectionAcceptLanguageTest::$modules property core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php Modules to install.
LanguageBrowserDetectionAcceptLanguageTest::setUp function core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php
LanguageBrowserDetectionAcceptLanguageTest::testAcceptLanguageEmptyDefault function core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php Tests with browsers with and without Accept-Language header.
LanguageBrowserDetectionTest class core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php Tests browser language detection.
LanguageBrowserDetectionTest.php file core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php
LanguageBrowserDetectionTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php The theme to install as the default for testing.
LanguageBrowserDetectionTest::$modules property core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php Modules to install.
LanguageBrowserDetectionTest::testUIBrowserLanguageMappings function core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php Tests mappings between browser language codes and Drupal language codes.

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