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
NodeRevisionRevertTranslationForm::$langcode property core/modules/node/src/Form/NodeRevisionRevertTranslationForm.php The language to be reverted.
NodeTypeTranslationTest::$additionalLangcodes property core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php Languages to enable.
NodeTypeTranslationTest::$defaultLangcode property core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php The default language code to use in this test.
NullStorage::decode function core/lib/Drupal/Core/Config/NullStorage.php Decodes configuration data from the storage-specific format.
NullStorage::encode function core/lib/Drupal/Core/Config/NullStorage.php Encodes configuration data into the storage-specific format.
OliveroHexToHslTest::hexCodes function core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php Data provider of hex codes and HSL values.
OpCodeCache class core/lib/Drupal/Component/Utility/OpCodeCache.php Provides helpers to handle PHP opcode caches.
OpCodeCache.php file core/lib/Drupal/Component/Utility/OpCodeCache.php
OpCodeCache::invalidate function core/lib/Drupal/Component/Utility/OpCodeCache.php Invalidates a PHP file from a possibly active opcode cache.
OpCodeCache::isEnabled function core/lib/Drupal/Component/Utility/OpCodeCache.php Checks if OpCodeCache is enabled.
PackageGenerator::encode function composer/Generator/PackageGenerator.php Utility function to encode metapackage json in a consistent way.
PathEncodedTest class core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php Tests URL generation and routing for route paths with encoded characters.
PathEncodedTest.php file core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php The theme to install as the default for testing.
PathEncodedTest::$modules property core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php Modules to install.
PathEncodedTest::testAliasToEncoded function core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTest::testGetEncoded function core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTestController class core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php Returns responses for path_encoded_test routes.
PathEncodedTestController.php file core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php
PathEncodedTestController::simple function core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php Returns an HTML simple response.
PathProcessorDecode class core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php Processes the inbound path by decoding the URL.
PathProcessorDecode.php file core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php
PathProcessorDecode::processInbound function core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php Processes the inbound path.
path_encoded_test.info.yml file core/modules/system/tests/modules/path_encoded_test/path_encoded_test.info.yml core/modules/system/tests/modules/path_encoded_test/path_encoded_test.info.yml
path_encoded_test.routing.yml file core/modules/system/tests/modules/path_encoded_test/path_encoded_test.routing.yml core/modules/system/tests/modules/path_encoded_test/path_encoded_test.routing.yml
path_processor_decode service core/core.services.yml Drupal\Core\PathProcessor\PathProcessorDecode
PhpassHashedPasswordBase::base64Encode function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Encodes bytes into printable base 64 using the *nix standard from crypt().
PhpSerialize::decode function core/lib/Drupal/Component/Serialization/PhpSerialize.php Decodes data from the serialization format.
PhpSerialize::encode function core/lib/Drupal/Component/Serialization/PhpSerialize.php Encodes data into the serialization format.
PoDatabaseReader::$langcode property core/modules/locale/src/PoDatabaseReader.php Language code of the language being read from the database.
PoDatabaseReader::getLangcode function core/modules/locale/src/PoDatabaseReader.php Get language code.
PoDatabaseReader::setLangcode function core/modules/locale/src/PoDatabaseReader.php Set language code.
PoDatabaseWriter::$langcode property core/modules/locale/src/PoDatabaseWriter.php Language code of the language being written to the database.
PoDatabaseWriter::getLangcode function core/modules/locale/src/PoDatabaseWriter.php Get language code.
PoDatabaseWriter::setLangcode function core/modules/locale/src/PoDatabaseWriter.php Set language code.
PoHeader::$langcode property core/lib/Drupal/Component/Gettext/PoHeader.php Language code.
PoItem::$langcode property core/lib/Drupal/Component/Gettext/PoItem.php The language code this translation is in.
PoItem::getLangcode function core/lib/Drupal/Component/Gettext/PoItem.php Gets the language code of the currently used language.
PoItem::setLangcode function core/lib/Drupal/Component/Gettext/PoItem.php Set the language code of the current language.
PoMemoryWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
PoMemoryWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
PoMetadataInterface::getLangcode function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Get language code.
PoMetadataInterface::setLangcode function core/lib/Drupal/Component/Gettext/PoMetadataInterface.php Set language code.
PoStreamReader::$langcode property core/lib/Drupal/Component/Gettext/PoStreamReader.php Language code for the PO stream being read.
PoStreamReader::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamReader.php Get language code.
PoStreamReader::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamReader.php Set language code.
PoStreamWriter::$langcode property core/lib/Drupal/Component/Gettext/PoStreamWriter.php The language code of this writer.
PoStreamWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the current language code used.
PoStreamWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the language code.
ReadOnlyStorage::decode function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Decodes configuration data from the storage-specific format.

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