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
ArgumentPluginBase::encodeValidatorId function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php Sanitize validator options including derivatives with : for js.
AuthenticationProviderPassTest::testEncoders function core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php @covers ::process
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 @covers ::encode
@covers ::decode
ComponentGenerator::encode function composer/Generator/ComponentGenerator.php Utility function to encode package json in a consistent way.
DatabaseStorage::encode function core/lib/Drupal/Core/Config/DatabaseStorage.php Encodes configuration data into the storage-specific format.
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.
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 @coversDefaultClass \Drupal\serialization\Encoder\JsonEncoder
@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.
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.
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 enable.
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.
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
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
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 @covers ::encode
@covers ::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.
RecipeExtensionConfigStorage::encode function core/lib/Drupal/Core/Recipe/RecipeExtensionConfigStorage.php Encodes configuration data into the storage-specific format.
RecipeOverrideConfigStorage::encode function core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php Encodes configuration data into the storage-specific format.
RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_ENCODER_TAG constant core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php The service tag that only JSON:API encoders should use.
RegisterSerializationClassesCompilerPassTest::testEncoders function core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php @covers ::process
rest_test.encoder.foobar service core/modules/rest/tests/modules/rest_test/rest_test.services.yml Drupal\serialization\Encoder\JsonEncoder
SerializationInterface::encode function core/lib/Drupal/Component/Serialization/SerializationInterface.php Encodes data into the serialization format.
SerializationTestEncoder class core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php

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