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
PhpSerialize::encode function core/lib/Drupal/Component/Serialization/PhpSerialize.php Encodes data into the serialization format.
PoDatabaseReader::$langcode property core/modules/locale/src/PoDatabaseReader.php Language code of the language being read from the database.
PoDatabaseReader::getLangcode function core/modules/locale/src/PoDatabaseReader.php Get language code.
PoDatabaseReader::setLangcode function core/modules/locale/src/PoDatabaseReader.php Set language code.
PoDatabaseWriter::$langcode property core/modules/locale/src/PoDatabaseWriter.php Language code of the language being written to the database.
PoDatabaseWriter::getLangcode function core/modules/locale/src/PoDatabaseWriter.php Get language code.
PoDatabaseWriter::setLangcode function core/modules/locale/src/PoDatabaseWriter.php Set language code.
PoHeader::$langcode property core/lib/Drupal/Component/Gettext/PoHeader.php Language code.
PoItem::$langcode property core/lib/Drupal/Component/Gettext/PoItem.php The language code this translation is in.
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().
SearchSimplifyTest::testSearchSimplifyUnicode function core/modules/search/tests/src/Kernel/SearchSimplifyTest.php Tests that all Unicode characters simplify 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 Test module setting up two tests, one for checking if the entity $langcode is
being passed on and another one sets up the alternate verb forms for the
stemming test.
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

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