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 11.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.
AliasManager::$langcodePreloaded property core/modules/path_alias/src/AliasManager.php Whether preloaded path lookups has already been loaded.
AliasManagerTest::testGetPathByAliasLangcode function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method when a langcode is passed explicitly.
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 @covers ::process[[api-linebreak]]
BlockLanguageCacheTest::$langcodes property core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php List of langcodes.
BookMultilingualTest::LANGCODE constant core/modules/book/tests/src/Kernel/BookMultilingualTest.php The translation langcode.
BookMultilingualTest::langcodesProvider function core/modules/book/tests/src/Kernel/BookMultilingualTest.php Data provider for ::testMultilingualBooks().
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 @covers ::copyCodebase[[api-linebreak]]
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 @covers ::encode[[api-linebreak]]
@covers ::decode[[api-linebreak]]
CKEditor5UpdateCodeBlockConfigurationTest class core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php @covers ckeditor5_post_update_code_block[[api-linebreak]]
@group Update
@group ckeditor5
CKEditor5UpdateCodeBlockConfigurationTest.php file core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php
CKEditor5UpdateCodeBlockConfigurationTest::$defaultTheme property core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php The theme to install as the default for testing.
CKEditor5UpdateCodeBlockConfigurationTest::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php Set database dump files to be used.
CKEditor5UpdateCodeBlockConfigurationTest::testUpdateCodeBlockConfigurationPostUpdate function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php Ensure default configuration for the CKEditor 5 codeBlock plugin is added.
ckeditor5_post_update_code_block function core/modules/ckeditor5/ckeditor5.post_update.php Updates Text Editors using CKEditor 5 Code Block.
ClassWriter::flushAlteredCodeToFile function core/tests/Drupal/TestTools/PhpUnitCompatibility/ClassWriter.php Flushes altered class code to file when necessary.
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.

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