Search for encode

  1. Search 7.x for encode
  2. Search 9.5.x for encode
  3. Search 8.9.x for encode
  4. Search 10.3.x for encode
  5. Other projects
Title Object type File name Summary
AllowListConfigStorage::encode function core/lib/Drupal/Core/Recipe/AllowListConfigStorage.php Encodes configuration data into the storage-specific format.
AuthenticationProviderPassTest::testEncoders function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php Tests encoders.
CachedStorage::encode function core/lib/Drupal/Core/Config/CachedStorage.php Encodes configuration data into the storage-specific format.
CheckpointStorage::encode function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Encodes configuration data into the storage-specific format.
CheckpointStorageTest::testEncodeDecode function core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php Tests encode decode.
DatabaseStorage::encode function core/lib/Drupal/Core/Config/DatabaseStorage.php Encodes configuration data into the storage-specific format.
DebugDump::encodeDump function core/tests/Drupal/TestTools/Extension/Dump/DebugDump.php Encodes the dump for storing.
DerivativeDiscoveryDecorator::encodePluginId function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Encodes plugin and derivative id's into a string.
FileStorage::encode function core/lib/Drupal/Core/Config/FileStorage.php Encodes configuration data into the storage-specific format.
Json::encode function core/lib/Drupal/Component/Serialization/Json.php Uses HTML-safe strings, with several characters escaped.
ManagedStorage::encode function core/lib/Drupal/Core/Config/ManagedStorage.php Encodes configuration data into the storage-specific format.
MemoryStorage::encode function core/lib/Drupal/Core/Config/MemoryStorage.php Encodes configuration data into the storage-specific format.
NullStorage::encode function core/lib/Drupal/Core/Config/NullStorage.php Encodes configuration data into the storage-specific format.
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
PhpassHashedPasswordBase::base64Encode function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Encodes bytes into printable base 64 using the *nix standard from crypt().
PhpSerialize::encode function core/lib/Drupal/Component/Serialization/PhpSerialize.php Encodes data into the serialization format.
ReadOnlyStorage::encode function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Encodes configuration data into the storage-specific format.
ReadOnlyStorageTest::testEncodeDecode function core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php Tests encode decode.
RecipeConfigStorageWrapper::encode function core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php Encodes configuration data into the storage-specific format.
RecipeConfigStorageWrapperTest::testEncode function core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php Test that we only use storage A's encode method.
RecipeOverrideConfigStorage::encode function core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php Encodes configuration data into the storage-specific format.
SerializationInterface::encode function core/lib/Drupal/Component/Serialization/SerializationInterface.php Encodes data into the serialization format.
StaticMenuLinkOverrides::encodeId function core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php Encodes the ID by replacing dots with double underscores.
StorageInterface::encode function core/lib/Drupal/Core/Config/StorageInterface.php Encodes configuration data into the storage-specific format.
Tags::encode function core/lib/Drupal/Component/Utility/Tags.php Encodes a tag string, taking care of special cases like commas and quotes.
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.
Yaml::encode function core/lib/Drupal/Component/Serialization/Yaml.php Encodes data into the serialization format.
YamlPecl::encode function core/lib/Drupal/Component/Serialization/YamlPecl.php Encodes data into the serialization format.
YamlPeclTest::testEncode function core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php Tests our encode settings.
YamlPeclTest::testEncodeDecode function core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php Tests encoding and decoding basic data structures.
YamlTest::testEncode function core/tests/Drupal/Tests/Component/Serialization/YamlTest.php Tests our encode settings.
YamlTest::testEncodeDecode function core/tests/Drupal/Tests/Component/Serialization/YamlTest.php Tests encoding and decoding basic data structures.
YamlTest::testEncodeObjectSupportDisabled function core/tests/Drupal/Tests/Component/Serialization/YamlTest.php Ensures that php object support is disabled.
YamlTestBase::providerEncodeDecodeTests function core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php Some data that should be able to be serialized.

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