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
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
SimpletestPhpunitRunCommandTest::provideStatusCodes function core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php Data provider for testSimpletestPhpUnitRunCommand().
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.
Tags::encode function core/lib/Drupal/Component/Utility/Tags.php Encodes a tag string, taking care of special cases like commas and quotes.
TaxonomyLegacyTest::testEntityLegacyCode function core/modules/taxonomy/tests/src/Kernel/TaxonomyLegacyTest.php @expectedDeprecation taxonomy_term_load_multiple() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\taxonomy\Entity\Term::loadMultiple(). See https://www.drupal.org/node/2266845
@expectedDeprecation…
TaxonomyTranslationTestTrait::$baseLangcode property core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php The langcode of the source language.
TaxonomyTranslationTestTrait::$baseLangcode property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php The langcode of the source language.
TaxonomyTranslationTestTrait::$translateToLangcode property core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php Target langcode for translation.
TaxonomyTranslationTestTrait::$translateToLangcode property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Target langcode for translation.
Test::renderEncodedMarkup function core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Renders a page with encoded markup.
TestConfigNamesMapper::getInternalLangcode function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Gets the internal language code of this mapper, if any.
TestSiteInstallCommand::$langcode property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The language to install the site in.
TranslatedViewTest::$langcodes property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Languages to enable.
TranslationLanguageRenderer::$langcodeAlias property core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Stores the field alias of the langcode column.
TranslationLanguageRenderer::getLangcode function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Returns the language code associated with the given row.
TranslationLanguageRenderer::getLangcodeTable function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php Returns the name of the table holding the "langcode" field.
TranslationManager::$defaultLangcode property core/lib/Drupal/Core/StringTranslation/TranslationManager.php The default langcode used in translations.
TranslationManager::setDefaultLangcode function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Sets the default langcode.
UmamiMultilingualInstallTest::$langcode property core/profiles/demo_umami/tests/src/Functional/UmamiMultilingualInstallTest.php The language code in which to install Drupal.
Unicode class core/lib/Drupal/Component/Utility/Unicode.php Provides Unicode-related conversions and operations.
unicode.inc file core/includes/unicode.inc Provides Unicode-related conversions and operations.
Unicode.php file core/lib/Drupal/Component/Utility/Unicode.php
Unicode::caseFlip function core/lib/Drupal/Component/Utility/Unicode.php Flip U+C0-U+DE to U+E0-U+FD and back. Can be used as preg_replace callback.
Unicode::check function core/lib/Drupal/Component/Utility/Unicode.php Checks for Unicode support in PHP and sets the proper settings if possible.
Unicode::convertToUtf8 function core/lib/Drupal/Component/Utility/Unicode.php Converts data to UTF-8.
Unicode::encodingFromBOM function core/lib/Drupal/Component/Utility/Unicode.php Decodes UTF byte-order mark (BOM) into the encoding's name.
Unicode::getStatus function core/lib/Drupal/Component/Utility/Unicode.php Gets the current status of unicode/multibyte support on this environment.
Unicode::lcfirst function core/lib/Drupal/Component/Utility/Unicode.php Converts the first character of a UTF-8 string to lowercase.
Unicode::mimeHeaderDecode function core/lib/Drupal/Component/Utility/Unicode.php Decodes MIME/HTTP encoded header values.
Unicode::mimeHeaderEncode function core/lib/Drupal/Component/Utility/Unicode.php Encodes MIME/HTTP headers that contain incorrectly encoded characters.
Unicode::PREG_CLASS_WORD_BOUNDARY constant core/lib/Drupal/Component/Utility/Unicode.php Matches Unicode characters that are word boundaries.
Unicode::setStatus function core/lib/Drupal/Component/Utility/Unicode.php Sets the value for multibyte support status for the current environment.
Unicode::STATUS_ERROR constant core/lib/Drupal/Component/Utility/Unicode.php Indicates an error during check for PHP unicode support.
Unicode::STATUS_MULTIBYTE constant core/lib/Drupal/Component/Utility/Unicode.php Indicates that full unicode support with the PHP mbstring extension is
being used.
Unicode::STATUS_SINGLEBYTE constant core/lib/Drupal/Component/Utility/Unicode.php Indicates that standard PHP (emulated) unicode support is being used.
Unicode::strcasecmp function core/lib/Drupal/Component/Utility/Unicode.php Compares UTF-8-encoded strings in a binary safe case-insensitive manner.
Unicode::strlen function core/lib/Drupal/Component/Utility/Unicode.php Counts the number of characters in a UTF-8 string.
Unicode::strpos function core/lib/Drupal/Component/Utility/Unicode.php Finds the position of the first occurrence of a string in another string.
Unicode::strtolower function core/lib/Drupal/Component/Utility/Unicode.php Converts a UTF-8 string to lowercase.
Unicode::strtoupper function core/lib/Drupal/Component/Utility/Unicode.php Converts a UTF-8 string to uppercase.
Unicode::substr function core/lib/Drupal/Component/Utility/Unicode.php Cuts off a piece of a string based on character indices and counts.
Unicode::truncate function core/lib/Drupal/Component/Utility/Unicode.php Truncates a UTF-8-encoded string safely to a number of characters.

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