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
EntityTypeWithoutLanguageFormTest::testEmptyLangcode function core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php Tests configuration options with an entity without language definition.
EntityUrlTest::$langcode property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The language code of the entity used in this test.
Error::decodeException function core/lib/Drupal/Core/Utility/Error.php Decodes an exception and retrieves the correct caller.
FieldItemBase::getLangcode function core/lib/Drupal/Core/Field/FieldItemBase.php
FieldItemInterface::getLangcode function core/lib/Drupal/Core/Field/FieldItemInterface.php Gets the langcode of the field values held in the object.
FieldItemList::$langcode property core/lib/Drupal/Core/Field/FieldItemList.php The langcode of the field values held in the object.
FieldItemList::getLangcode function core/lib/Drupal/Core/Field/FieldItemList.php
FieldItemList::setLangcode function core/lib/Drupal/Core/Field/FieldItemList.php
FieldItemListInterface::getLangcode function core/lib/Drupal/Core/Field/FieldItemListInterface.php Gets the langcode of the field values held in the object.
FieldItemListInterface::setLangcode function core/lib/Drupal/Core/Field/FieldItemListInterface.php Sets the langcode of the field values held in the object.
FieldTranslationSqlStorageTest::assertFieldStorageLangcode function core/tests/Drupal/KernelTests/Core/Entity/FieldTranslationSqlStorageTest.php Checks whether field languages are correctly stored for the given entity.
FileEncodingConstraintValidatorTest::getInvalidEncodedPoFile function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileEncodingConstraintValidatorTest.php Helper function that returns a .po file with invalid encoding.
FileStorage::decode function core/lib/Drupal/Core/Config/FileStorage.php
FileStorage::encode function core/lib/Drupal/Core/Config/FileStorage.php
FileUploadResourceTestBase::testFileUploadUnicodeFilename function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload route with a unicode file name.
FileUploadTest::testFileUploadUnicodeFilename function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload route with a unicode file name.
Html::decodeEntities function core/lib/Drupal/Component/Utility/Html.php Decodes all HTML entities including numerical ones to regular UTF-8 bytes.
HtmlTest::providerDecodeEntities function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Data provider for testDecodeEntities().
HtmlTest::testDecodeEntities function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests Html::decodeEntities().
HtmlTest::testDecodeEntitiesAndEscape function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests relationship between escaping and decoding HTML entities.
HTTPStatusCode class core/modules/views/src/Plugin/views/area/HTTPStatusCode.php Alter the HTTP response status code used by the view.
HTTPStatusCode.php file core/modules/views/src/Plugin/views/area/HTTPStatusCode.php
HTTPStatusCode::buildOptionsForm function core/modules/views/src/Plugin/views/area/HTTPStatusCode.php
HTTPStatusCode::defineOptions function core/modules/views/src/Plugin/views/area/HTTPStatusCode.php
HTTPStatusCode::render function core/modules/views/src/Plugin/views/area/HTTPStatusCode.php
InstallerLanguageDirectionTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerLanguageDirectionTest.php Overrides the language code the installer should use.
InstallerTestBase::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php The language code in which to install Drupal.
InstallerTranslationExistingFileTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php Overrides the language code in which to install Drupal.
InstallerTranslationMultipleLanguageForeignTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php Overrides the language code in which to install Drupal.
InstallerTranslationQueryTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationQueryTest.php Overrides the language code in which to install Drupal.
InstallerTranslationTest::$langcode property core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php Overrides the language code in which to install Drupal.
Json::decode function core/lib/Drupal/Component/Serialization/Json.php Decodes data from the serialization format.
Json::encode function core/lib/Drupal/Component/Serialization/Json.php Uses HTML-safe strings, with several characters escaped.
JsonEncoder class core/modules/serialization/src/Encoder/JsonEncoder.php Adds 'ajax' to the supported content types of the JSON encoder.
JsonEncoder class core/modules/jsonapi/src/Encoder/JsonEncoder.php Encodes JSON:API data.
JsonEncoder.php file core/modules/serialization/src/Encoder/JsonEncoder.php
JsonEncoder.php file core/modules/jsonapi/src/Encoder/JsonEncoder.php
JsonEncoder::$format property core/modules/serialization/src/Encoder/JsonEncoder.php The formats that this Encoder supports.
JsonEncoder::$format property core/modules/jsonapi/src/Encoder/JsonEncoder.php The formats that this Encoder supports.
JsonEncoder::supportsDecoding function core/modules/serialization/src/Encoder/JsonEncoder.php
JsonEncoder::supportsEncoding function core/modules/serialization/src/Encoder/JsonEncoder.php
JsonEncoder::__construct function core/modules/serialization/src/Encoder/JsonEncoder.php
JsonEncoderTest class core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php Tests Drupal\serialization\Encoder\JsonEncoder.
JsonEncoderTest class core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php Tests the JSON:API encoder.
JsonEncoderTest.php file core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest.php file core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest::$encoder property core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php The encoder under test.
JsonEncoderTest::$encoder property core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php The encoder under test.
JsonEncoderTest::setUp function core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest::setUp function core/modules/jsonapi/tests/src/Unit/Encoder/JsonEncoderTest.php

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