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
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 Returns the preferred administrative language code of the account.
User::getPreferredLangcode function core/modules/user/src/Entity/User.php Returns the preferred language code of the account.
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 Test 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::create function core/modules/user/src/Plugin/migrate/process/UserLangcode.php Creates an instance of the plugin.
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.
UserLegacyTest::testEntityLegacyCode function core/modules/user/tests/src/Kernel/UserLegacyTest.php @expectedDeprecation user_load_multiple() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\user\Entity\User::loadMultiple(). See https://www.drupal.org/node/2266845
@expectedDeprecation user_load() is deprecated in…
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 Returns the preferred administrative language code of the account.
UserSession::getPreferredLangcode function core/lib/Drupal/Core/Session/UserSession.php Returns the preferred language code of the account.
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.
WebDriverWebAssert::statusCodeEquals function core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php The use of statusCodeEquals() is not available.
WebDriverWebAssert::statusCodeNotEquals function core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php The use of statusCodeNotEquals() is not available.
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 @coversDefaultClass \Drupal\serialization\Encoder\XmlEncoder[[api-linebreak]]
@group serialization
XmlEncoderTest.php file core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
XmlEncoderTest::$baseEncoder property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
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.
XmlEncoderTest::setUp function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
XmlEncoderTest::testDecode function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the decode() method.
XmlEncoderTest::testDefaultEncoderHasSerializer function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php @covers ::getBaseEncoder[[api-linebreak]]
XmlEncoderTest::testEncode function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the encode() method.
XmlEncoderTest::testSupportsDecoding function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the supportsDecoding() method.
XmlEncoderTest::testSupportsEncoding function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the supportsEncoding() method.
Yaml::decode function core/lib/Drupal/Component/Serialization/Yaml.php Decodes data from the serialization format.
Yaml::encode function core/lib/Drupal/Component/Serialization/Yaml.php Encodes data into the serialization format.
YamlDiscovery::decode function core/lib/Drupal/Core/Discovery/YamlDiscovery.php Decode a YAML file.
YamlDiscovery::decode function core/lib/Drupal/Component/Discovery/YamlDiscovery.php Decode a YAML file.
YamlParserProxy::decode function core/tests/Drupal/Tests/Core/Serialization/YamlTest.php Decodes data from the serialization format.
YamlParserProxy::decode function core/tests/Drupal/Tests/Component/Serialization/YamlTest.php Decodes data from the serialization format.
YamlParserProxy::encode function core/tests/Drupal/Tests/Core/Serialization/YamlTest.php Encodes data into the serialization format.
YamlParserProxy::encode function core/tests/Drupal/Tests/Component/Serialization/YamlTest.php Encodes data into the serialization format.

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