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 10.3.x for code
  5. Search main for code
  6. Other projects
Title Object type File name Summary
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.
StubEntityBase::$langcode property core/tests/Drupal/Tests/Core/Entity/StubEntityBase.php The language code for the stub entity.
Tags::encode function core/lib/Drupal/Component/Utility/Tags.php Encodes a tag string, taking care of special cases like commas and quotes.
TaxonomyTranslationTestTrait::$baseLangcode property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php The langcode of the source language.
TaxonomyTranslationTestTrait::$translateToLangcode property core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Target langcode for translation.
TemplateProjectTestBase::copyCodebase function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Copy the current working codebase into a workspace.
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.
ThemeTest::testThemeSettingsColorHexCode function core/modules/system/tests/src/Functional/System/ThemeTest.php Tests the theme settings color input.
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.php file core/lib/Drupal/Component/Utility/Unicode.php
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) to the encoding 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::PREG_CLASS_WORD_BOUNDARY constant core/lib/Drupal/Component/Utility/Unicode.php Matches Unicode characters that are word boundaries.
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 PHP mbstring extension is 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::truncate function core/lib/Drupal/Component/Utility/Unicode.php Truncates a UTF-8-encoded string safely to a number of characters.
Unicode::truncateBytes function core/lib/Drupal/Component/Utility/Unicode.php Truncates a UTF-8-encoded string safely to a number of bytes.
Unicode::ucfirst function core/lib/Drupal/Component/Utility/Unicode.php Capitalizes the first character of a UTF-8 string.
Unicode::ucwords function core/lib/Drupal/Component/Utility/Unicode.php Capitalizes the first character of each word in a UTF-8 string.
Unicode::validateUtf8 function core/lib/Drupal/Component/Utility/Unicode.php Checks whether a string is valid UTF-8.
UnicodeTest class core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Test unicode handling features implemented in Unicode component.
UnicodeTest.php file core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php
UnicodeTest.txt file core/modules/search/tests/UnicodeTest.txt
UnicodeTest::providerLcfirst function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Data provider for testLcfirst().
UnicodeTest::providerTestConvertToUtf8 function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Provides data to self::testConvertToUtf8().
UnicodeTest::providerTestTruncateBytes function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Provides data for self::testTruncateBytes().
UnicodeTest::providerTestValidateUtf8 function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Provides data for self::testValidateUtf8().
UnicodeTest::providerTruncate function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Data provider for testTruncate().
UnicodeTest::providerUcfirst function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Data provider for testUcfirst().
UnicodeTest::providerUcwords function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Data provider for testUcwords().
UnicodeTest::testConvertToUtf8 function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests UTF-8 conversion.
UnicodeTest::testLcfirst function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests multibyte lcfirst.

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