Search for code

  1. Search 7.x for code
  2. Search 9.5.x for code
  3. Search 8.9.x for code
  4. Search 10.3.x for code
  5. Search main for code
  6. Other projects
Title Object type File name Summary
AccountForm::alterPreferredLangcodeDescription function core/modules/user/src/AccountForm.php Alters the preferred language widget description.
AccountForm::syncUserLangcode function core/modules/user/src/AccountForm.php Synchronizes preferred language and entity language.
AccountInterface::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/AccountInterface.php Returns the preferred administrative language code of the account.
AccountInterface::getPreferredLangcode function core/lib/Drupal/Core/Session/AccountInterface.php Returns the preferred language code of the account.
AccountProxy::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/AccountProxy.php Returns the preferred administrative language code of the account.
AccountProxy::getPreferredLangcode function core/lib/Drupal/Core/Session/AccountProxy.php Returns the preferred language code of the account.
AliasManagerTest::testGetPathByAliasLangcode function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method when a langcode is passed explicitly.
AllowListConfigStorage::decode function core/lib/Drupal/Core/Recipe/AllowListConfigStorage.php Decodes configuration data from the storage-specific format.
AllowListConfigStorage::encode function core/lib/Drupal/Core/Recipe/AllowListConfigStorage.php Encodes configuration data into the storage-specific format.
AreaHTTPStatusCodeTest class core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php Tests the http_status_code area handler.
AreaHTTPStatusCodeTest.php file core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php
AreaHTTPStatusCodeTest::$defaultTheme property core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php The theme to install as the default for testing.
AreaHTTPStatusCodeTest::$modules property core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php Modules to install.
AreaHTTPStatusCodeTest::$testViews property core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php Views used by this test.
AreaHTTPStatusCodeTest::testHTTPStatusCodeHandler function core/modules/views/tests/src/Functional/Handler/AreaHTTPStatusCodeTest.php Tests the area handler.
ArgumentPluginBase::decodeValidatorId function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Revert sanitized validator options.
ArgumentPluginBase::encodeValidatorId function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Sanitize validator options including derivatives with : for js.
AuthenticationProviderPassTest::testEncoders function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php Tests encoders.
BlockLanguageCacheTest::$langcodes property core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php List of langcodes.
BuildTestBase::assertCommandExitCode function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Asserts that the last command returned the specified exit code.
BuildTestBase::copyCodebase function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Copy the current working codebase into a workspace.
BuildTestBase::getCodebaseFinder function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Get a default Finder object for a Drupal codebase.
BuildTestTest::testCopyCodebase function core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php Tests copy codebase.
BuildTestTest::testCopyCodebaseDocRoot function core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php Tests copying codebase when Drupal and Composer roots are different.
BuildTestTest::testCopyCodebaseExclude function core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php Ensure we're not copying directories we wish to exclude.
CachedStorage::decode function core/lib/Drupal/Core/Config/CachedStorage.php Decodes configuration data from the storage-specific format.
CachedStorage::encode function core/lib/Drupal/Core/Config/CachedStorage.php Encodes configuration data into the storage-specific format.
CheckpointStorage::decode function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Decodes configuration data from the storage-specific format.
CheckpointStorage::encode function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Encodes configuration data into the storage-specific format.
CheckpointStorageTest::testEncodeDecode function core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php Tests encode decode.
CKEditor5CodeSyntaxTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5CodeSyntaxTest.php Tests code block configured languages are respected.
CKEditor5CodeSyntaxTest.php file core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5CodeSyntaxTest.php
CKEditor5CodeSyntaxTest::testCKEditor5CodeSyntax function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5CodeSyntaxTest.php Tests code block configured languages are respected.
code-block.admin.css file core/modules/ckeditor5/css/code-block.admin.css .ckeditor5-toolbar-button-codeBlock {
background-image: url(../icons/code-block.svg);
}
CodeBlock class core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php CKEditor 5 Code Block plugin configuration.
CodeBlock.php file core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php
CodeBlock::buildConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Form constructor.
CodeBlock::defaultConfiguration function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Gets default configuration for this plugin.
CodeBlock::getDynamicPluginConfig function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Allows a plugin to modify its static configuration.
CodeBlock::parseLanguagesFromValue function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Parses the line-based (for form) Code Block configuration.
CodeBlock::submitConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Form submission handler.
CodeBlock::validateConfigurationForm function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/CodeBlock.php Form validation handler.
commit-code-check.sh file core/scripts/dev/commit-code-check.sh #!/bin/bash
#
# This script performs code quality checks.
#
# @internal
# This script is not covered by Drupal core's backwards compatibility promise.
# It exists only for core development purposes.
#
# The script makes the following…
ComponentGenerator::encode function composer/Generator/ComponentGenerator.php Utility function to encode package json in a consistent way.
ConfigEntityBase::$langcode property core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php The language code of the entity's default language.
ConfigEntityValidationTestBase::testLangcode function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Tests that the config entity's langcode is validated.
ConfigMapperInterface::getLangcode function core/modules/config_translation/src/ConfigMapperInterface.php Returns the original language code of the configuration.
ConfigMapperInterface::getLangcodeFromConfig function core/modules/config_translation/src/ConfigMapperInterface.php Returns the language code of a configuration object given its name.
ConfigMapperInterface::setLangcode function core/modules/config_translation/src/ConfigMapperInterface.php Sets the original language code.
ConfigNamesMapper::$langcode property core/modules/config_translation/src/ConfigNamesMapper.php The language code of the language this mapper, if any.

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