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 11.x for code
  5. Search main for code
  6. Other projects
Title Object type File name Summary
EntityUrlTest::$langcode property core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php The language code of the entity used in this test.
entity_test_entity_test_mul_langcode_key_translation_create function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_translation_create() for 'entity_test_mul_langcode_key'.
entity_test_entity_test_mul_langcode_key_translation_delete function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mul_langcode_key'.
entity_test_entity_test_mul_langcode_key_translation_insert function core/modules/system/tests/modules/entity_test/entity_test.module Implements hook_ENTITY_TYPE_translation_insert() for 'entity_test_mul_langcode_key'.
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 Gets the langcode of the field values held in the object.
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 Gets the langcode of the field values held in the object.
FieldItemList::setLangcode function core/lib/Drupal/Core/Field/FieldItemList.php Sets the langcode of the field values held in the object.
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.
FileStorage::decode function core/lib/Drupal/Core/Config/FileStorage.php Decodes configuration data from the storage-specific format.
FileStorage::encode function core/lib/Drupal/Core/Config/FileStorage.php Encodes configuration data into the storage-specific format.
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 Provide a form to edit options for this plugin.
HTTPStatusCode::defineOptions function core/modules/views/src/Plugin/views/area/HTTPStatusCode.php Information about options for all kinds of purposes will be held here.
HTTPStatusCode::render function core/modules/views/src/Plugin/views/area/HTTPStatusCode.php Render the area.
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.
InternalViolation::getCode function core/lib/Drupal/Core/Field/InternalViolation.php
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/jsonapi/src/Encoder/JsonEncoder.php Encodes JSON:API data.
JsonEncoder class core/modules/serialization/src/Encoder/JsonEncoder.php Adds 'ajax' to the supported content types of the JSON encoder.
JsonEncoder.php file core/modules/jsonapi/src/Encoder/JsonEncoder.php
JsonEncoder.php file core/modules/serialization/src/Encoder/JsonEncoder.php
JsonEncoder::$format property core/modules/jsonapi/src/Encoder/JsonEncoder.php The formats that this Encoder supports.
JsonEncoder::$format property core/modules/serialization/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 @coversDefaultClass \Drupal\serialization\Encoder\JsonEncoder[[api-linebreak]]
@group serialization
JsonEncoderTest.php file core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest::testSupportsEncoding function core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php Tests the supportsEncoding() method.
LangcodeRequiredIfTranslatableValuesConstraint class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php #[Constraint(id: 'LangcodeRequiredIfTranslatableValues', label: new TranslatableMarkup('Translatable config has langcode', [], [
'context' => 'Validation',
]), type: [
'config_object',
])]
LangcodeRequiredIfTranslatableValuesConstraint.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php
LangcodeRequiredIfTranslatableValuesConstraint::$missingMessage property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php The error message if this config object is missing a `langcode`.

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