Search for code

  1. Search 7.x for code
  2. Search 8.9.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
PoItem::getLangcode function core/lib/Drupal/Component/Gettext/PoItem.php Gets the language code of the currently used language.
PoItem::setLangcode function core/lib/Drupal/Component/Gettext/PoItem.php Set the language code of the current language.
PoMemoryWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
PoMemoryWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
PoMetadataInterface::getLangcode function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Get language code.
PoMetadataInterface::setLangcode function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Set language code.
PoStreamReader::$langcode property core/lib/Drupal/Component/Gettext/PoStreamReader.php Language code for the PO stream being read.
PoStreamReader::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamReader.php Get language code.
PoStreamReader::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamReader.php Set language code.
PoStreamWriter::$langcode property core/lib/Drupal/Component/Gettext/PoStreamWriter.php The language code of this writer.
PoStreamWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the current language code used.
PoStreamWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the language code.
ReadOnlyStorage::decode function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Decodes configuration data from the storage-specific format.
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]]
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 enable.
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.hal service core/modules/hal/hal.services.yml Drupal\hal\Encoder\JsonEncoder
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
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.

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