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 11.x for code
  6. Other projects
Title Object type File name Summary
UnicodeTest::testTruncateBytes function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests multibyte truncate bytes.
UnicodeTest::testUcfirst function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests multibyte ucfirst.
UnicodeTest::testUcwords function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests multibyte ucwords.
UnicodeTest::testValidateUtf8 function core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php Tests UTF-8 validation.
UrlEncode class core/modules/migrate/src/Plugin/migrate/process/UrlEncode.php URL-encodes the input value.
UrlEncode.php file core/modules/migrate/src/Plugin/migrate/process/UrlEncode.php
UrlEncode::transform function core/modules/migrate/src/Plugin/migrate/process/UrlEncode.php
UrlEncodeTest class core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php Tests Drupal\migrate\Plugin\migrate\process\UrlEncode.
UrlEncodeTest.php file core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php
UrlEncodeTest::$migrationConfiguration property core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php
UrlEncodeTest::doTransform function core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php Perform the urlencode process plugin over the given value.
UrlEncodeTest::testUrls function core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php Cover various encoding scenarios.
UrlEncodeTest::urlDataProvider function core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php The data provider for testing URL encoding scenarios.
UrlGenerator::$decodedChars property core/lib/Drupal/Core/Routing/UrlGenerator.php Overrides characters that will not be percent-encoded in the path segment.
UrlHelper::encodePath function core/lib/Drupal/Component/Utility/UrlHelper.php Encodes a Drupal path for use in a URL.
UrlHelperTest::providerTestEncodePath function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for self::testEncodePath().
UrlHelperTest::testEncodePath function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests path encoding.
User::getAllowedConfigurableLanguageCodes function core/modules/user/src/Entity/User.php Defines allowed configurable language codes for AllowedValues constraints.
User::getPreferredAdminLangcode function core/modules/user/src/Entity/User.php
User::getPreferredLangcode function core/modules/user/src/Entity/User.php
UserAgent::getBestMatchingLangcode function core/lib/Drupal/Component/Utility/UserAgent.php Identifies user agent language from the Accept-language HTTP header.
UserAgentTest::providerTestGetBestMatchingLangcode function core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php Data provider for testGetBestMatchingLangcode().
UserAgentTest::testGetBestMatchingLangcode function core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php Tests matching language from user agent.
UserLangcode class core/modules/user/src/Plugin/migrate/process/UserLangcode.php Provides a process plugin for the user langcode.
UserLangcode.php file core/modules/user/src/Plugin/migrate/process/UserLangcode.php
UserLangcode::$languageManager property core/modules/user/src/Plugin/migrate/process/UserLangcode.php The language manager.
UserLangcode::transform function core/modules/user/src/Plugin/migrate/process/UserLangcode.php Performs the associated process.
UserLangcode::__construct function core/modules/user/src/Plugin/migrate/process/UserLangcode.php Constructs a UserLangcode object.
UserSession::$preferred_admin_langcode property core/lib/Drupal/Core/Session/UserSession.php The preferred administrative language code of the account.
UserSession::$preferred_langcode property core/lib/Drupal/Core/Session/UserSession.php The preferred language code of the account.
UserSession::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/UserSession.php
UserSession::getPreferredLangcode function core/lib/Drupal/Core/Session/UserSession.php
views.view.test_http_status_code.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_http_status_code.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_http_status_code.yml
ViewsData::$langcode property core/modules/views/src/ViewsData.php The current language code.
VocabularyTranslationTest::$additionalLangcodes property core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php Languages to enable.
XmlEncoder class core/modules/serialization/src/Encoder/XmlEncoder.php Adds XML support for serializer.
XmlEncoder.php file core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoder::$baseEncoder property core/modules/serialization/src/Encoder/XmlEncoder.php An instance of the Symfony XmlEncoder to perform the actual encoding.
XmlEncoder::$format property core/modules/serialization/src/Encoder/XmlEncoder.php The formats that this Encoder supports.
XmlEncoder::decode function core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoder::encode function core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoder::getBaseEncoder function core/modules/serialization/src/Encoder/XmlEncoder.php Gets the base encoder instance.
XmlEncoder::setBaseEncoder function core/modules/serialization/src/Encoder/XmlEncoder.php Sets the base encoder instance.
XmlEncoder::supportsDecoding function core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoder::supportsEncoding function core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoderTest class core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests Drupal\serialization\Encoder\XmlEncoder.
XmlEncoderTest.php file core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
XmlEncoderTest::$baseEncoder property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php The Symfony XML encoder.
XmlEncoderTest::$encoder property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php The XmlEncoder instance.
XmlEncoderTest::$testArray property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php An array of test data.

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