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
ReadOnlyStorage::encode function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Encodes configuration data into the storage-specific format.
ReadOnlyStorageTest::testEncodeDecode function core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php @covers ::encode[[api-linebreak]]
@covers ::decode[[api-linebreak]]
RecipeConfigStorageWrapper::decode function core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php Decodes configuration data from the storage-specific format.
RecipeConfigStorageWrapper::encode function core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php Encodes configuration data into the storage-specific format.
RecipeConfigStorageWrapperTest::testDecode function core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php Test that we only use storage A's decode method.
RecipeConfigStorageWrapperTest::testEncode function core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php Test that we only use storage A's encode method.
RecipeExtensionConfigStorage::decode function core/lib/Drupal/Core/Recipe/RecipeExtensionConfigStorage.php Decodes configuration data from the storage-specific format.
RecipeExtensionConfigStorage::encode function core/lib/Drupal/Core/Recipe/RecipeExtensionConfigStorage.php Encodes configuration data into the storage-specific format.
RecipeOverrideConfigStorage::decode function core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php Decodes configuration data from the storage-specific format.
RecipeOverrideConfigStorage::encode function core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php Encodes configuration data into the storage-specific format.
RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_ENCODER_TAG constant core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php The service tag that only JSON:API encoders should use.
RegisterSerializationClassesCompilerPassTest::testEncoders function core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php @covers ::process[[api-linebreak]]
rest_test.encoder.foobar service core/modules/rest/tests/modules/rest_test/rest_test.services.yml Drupal\serialization\Encoder\JsonEncoder
RowEntityRenderersTest::$langcodes property core/modules/views/tests/src/Kernel/Entity/RowEntityRenderersTest.php An array of added languages.
SearchPreprocessLangcodeTest class core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Tests that the search preprocessing uses the correct language code.
SearchPreprocessLangcodeTest.php file core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php
SearchPreprocessLangcodeTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php The theme to install as the default for testing.
SearchPreprocessLangcodeTest::$modules property core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Modules to install.
SearchPreprocessLangcodeTest::$node property core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Test node for searching.
SearchPreprocessLangcodeTest::setUp function core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php
SearchPreprocessLangcodeTest::testPreprocessLangcode function core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Tests that hook_search_preprocess() returns the correct langcode.
SearchPreprocessLangcodeTest::testPreprocessStemming function core/modules/search/tests/src/Functional/SearchPreprocessLangcodeTest.php Tests stemming for hook_search_preprocess().
SearchTextProcessorTest::testSearchTextProcessorUnicode function core/modules/search/tests/src/Kernel/SearchTextProcessorTest.php Tests that text processing handles Unicode characters correctly.
SearchTokenizerTest::code2utf function core/modules/search/tests/src/Kernel/SearchTokenizerTest.php Like PHP chr() function, but for unicode characters.
search_langcode_test.info.yml file core/modules/search/tests/modules/search_langcode_test/search_langcode_test.info.yml core/modules/search/tests/modules/search_langcode_test/search_langcode_test.info.yml
search_langcode_test.module file core/modules/search/tests/modules/search_langcode_test/search_langcode_test.module Tests the preprocessing of search text.
search_langcode_test_search_preprocess function core/modules/search/tests/modules/search_langcode_test/search_langcode_test.module Implements hook_search_preprocess().
SerializationInterface::decode function core/lib/Drupal/Component/Serialization/SerializationInterface.php Decodes data from the serialization format.
SerializationInterface::encode function core/lib/Drupal/Component/Serialization/SerializationInterface.php Encodes data into the serialization format.
SerializationTestEncoder class core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php
SerializationTestEncoder.php file core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php
SerializationTestEncoder::$format property core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php The format that this Encoder supports.
SerializationTestEncoder::encode function core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php
SerializationTestEncoder::supportsEncoding function core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php
serializer.encoder.json service core/modules/serialization/serialization.services.yml Drupal\serialization\Encoder\JsonEncoder
serializer.encoder.jsonapi service core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Encoder\JsonEncoder
serializer.encoder.serialization_test service core/modules/serialization/tests/serialization_test/serialization_test.services.yml Drupal\serialization_test\SerializationTestEncoder
serializer.encoder.xml service core/modules/serialization/serialization.services.yml Drupal\serialization\Encoder\XmlEncoder
SimpleConfigLangcodeTest class core/modules/system/tests/src/Functional/Update/SimpleConfigLangcodeTest.php @group system
@group Update
@covers system_post_update_add_langcode_to_all_translatable_config[[api-linebreak]]
SimpleConfigLangcodeTest.php file core/modules/system/tests/src/Functional/Update/SimpleConfigLangcodeTest.php
SimpleConfigLangcodeTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/SimpleConfigLangcodeTest.php Set database dump files to be used.
SimpleConfigLangcodeTest::testLangcodesAddedToSimpleConfig function core/modules/system/tests/src/Functional/Update/SimpleConfigLangcodeTest.php Tests that langcodes are added to simple config objects that need them.
SqlContentEntityStorage::$defaultLangcodeKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php The default language entity key.
SqlContentEntityStorage::$langcodeKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php The entity langcode key.
StaticMenuLinkOverrides::encodeId function core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php Encodes the ID by replacing dots with double underscores.
StorageInterface::decode function core/lib/Drupal/Core/Config/StorageInterface.php Decodes configuration data from the storage-specific format.
StorageInterface::encode function core/lib/Drupal/Core/Config/StorageInterface.php Encodes configuration data into the storage-specific format.
StorageReplaceDataWrapper::decode function core/modules/config/src/StorageReplaceDataWrapper.php Decodes configuration data from the storage-specific format.
StorageReplaceDataWrapper::encode function core/modules/config/src/StorageReplaceDataWrapper.php Encodes configuration data into the storage-specific format.
system_post_update_add_langcode_to_all_translatable_config function core/modules/system/system.post_update.php Adds a langcode to all simple config which needs it.

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