Search for code

  1. Search 7.x for code
  2. Search 9.5.x for code
  3. Search 10.3.x for code
  4. Search 11.x for code
  5. Search main for code
  6. Other projects
Title Object type File name Summary
LayoutRestTestBase::getDecodedContents function core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php Gets the decoded contents.
LinkBase::addLangcode function core/modules/views/src/Plugin/views/field/LinkBase.php Adds language information to the options.
LocaleConfigManager::getActiveConfigLangcode function core/modules/locale/src/LocaleConfigManager.php Returns the current language code for this active configuration.
LocaleConfigManager::getDefaultConfigLangcode function core/modules/locale/src/LocaleConfigManager.php Returns the original language code for this shipped configuration.
LocaleConfigManagerTest::testGetDefaultConfigLangcode function core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php Tests getDefaultConfigLangcode().
LocaleConfigTranslationTest::$langcode property core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php The language code used.
LocaleEvent::$langCodes property core/modules/locale/src/LocaleEvent.php The list of Language codes for updated translations.
LocaleEvent::getLangCodes function core/modules/locale/src/LocaleEvent.php Returns the language codes.
LocaleLookup::$langcode property core/modules/locale/src/LocaleLookup.php A language code.
locale_system_set_config_langcodes function core/modules/locale/locale.module Updates default configuration when new modules or themes are installed.
ManagedStorage::decode function core/lib/Drupal/Core/Config/ManagedStorage.php Decodes configuration data from the storage-specific format.
ManagedStorage::encode function core/lib/Drupal/Core/Config/ManagedStorage.php Encodes configuration data into the storage-specific format.
MediaEmbedFilterTestBase::createEmbedCode function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Gets an embed code with given attributes.
MediaLibraryUpdateViewLangcodeFiltersTest class core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewLangcodeFiltersTest.php Tests the media library module updates for the langcode filters.
MediaLibraryUpdateViewLangcodeFiltersTest.php file core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewLangcodeFiltersTest.php
MediaLibraryUpdateViewLangcodeFiltersTest::setDatabaseDumpFiles function core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewLangcodeFiltersTest.php Set database dump files to be used.
MediaLibraryUpdateViewLangcodeFiltersTest::testMediaLibraryViewStatusExtraFilter function core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateViewLangcodeFiltersTest.php Tests that the langcode filters are added to the media library view.
media_library_post_update_add_langcode_filters function core/modules/media_library/media_library.post_update.php Add langcode filters to media library view displays.
MemoryStorage::decode function core/lib/Drupal/Core/Config/MemoryStorage.php Decodes configuration data from the storage-specific format.
MemoryStorage::encode function core/lib/Drupal/Core/Config/MemoryStorage.php Encodes configuration data into the storage-specific format.
NegotiationBrowserDeleteForm::$browserLangcode property core/modules/language/src/Form/NegotiationBrowserDeleteForm.php The browser language code to be deleted.
NegotiationBrowserForm::language_get_browser_drupal_langcode_mappings function core/modules/language/src/Form/NegotiationBrowserForm.php Retrieves the browser's langcode mapping configuration array.
NodeLegacyTest::testEntityLegacyCode function core/modules/node/tests/src/Kernel/NodeLegacyTest.php @expectedDeprecation node_load_multiple() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\node\Entity\Node::loadMultiple(). See https://www.drupal.org/node/2266845
@expectedDeprecation node_load() is deprecated in…
NodeRevisionRevertTranslationForm::$langcode property core/modules/node/src/Form/NodeRevisionRevertTranslationForm.php The language to be reverted.
NodeTypeTranslationTest::$additionalLangcodes property core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php Languages to enable.
NodeTypeTranslationTest::$defaultLangcode property core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php The default language code to use in this test.
NullStorage::decode function core/lib/Drupal/Core/Config/NullStorage.php Decodes configuration data from the storage-specific format.
NullStorage::encode function core/lib/Drupal/Core/Config/NullStorage.php Encodes configuration data into the storage-specific format.
OpCodeCache class core/lib/Drupal/Component/Utility/OpCodeCache.php Provides helpers to handle PHP opcode caches.
OpCodeCache.php file core/lib/Drupal/Component/Utility/OpCodeCache.php
OpCodeCache::invalidate function core/lib/Drupal/Component/Utility/OpCodeCache.php Invalidates a PHP file from a possibly active opcode cache.
OpCodeCache::isEnabled function core/lib/Drupal/Component/Utility/OpCodeCache.php Checks if OpCodeCache is enabled.
PackageGenerator::encode function composer/Generator/PackageGenerator.php Utility function to encode metapackage json in a consistent way.
PathEncodedTest class core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php Tests url generation and routing for route paths with encoded characters.
PathEncodedTest.php file core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php The theme to install as the default for testing.
PathEncodedTest::$modules property core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php Modules to enable.
PathEncodedTest::testAliasToEncoded function core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTest::testGetEncoded function core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTestController class core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php Returns responses for path_encoded_test routes.
PathEncodedTestController.php file core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php
PathEncodedTestController::simple function core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php Returns a HTML simple response.
PathProcessorDecode class core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php Processes the inbound path by urldecoding it.
PathProcessorDecode.php file core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php
PathProcessorDecode::processInbound function core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php Processes the inbound path.
path_encoded_test.info.yml file core/modules/system/tests/modules/path_encoded_test/path_encoded_test.info.yml core/modules/system/tests/modules/path_encoded_test/path_encoded_test.info.yml
path_encoded_test.routing.yml file core/modules/system/tests/modules/path_encoded_test/path_encoded_test.routing.yml core/modules/system/tests/modules/path_encoded_test/path_encoded_test.routing.yml
path_processor_decode service core/core.services.yml Drupal\Core\PathProcessor\PathProcessorDecode
PhpassHashedPassword::base64Encode function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Encodes bytes into printable base 64 using the *nix standard from crypt().
PhpSerialize::decode function core/lib/Drupal/Component/Serialization/PhpSerialize.php Decodes data from the serialization format.

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