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
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
SerializationTestEncoder.php file core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php
SerializationTestEncoder::$format property core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php The format that this Encoder supports.
SerializationTestEncoder::encode function core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php
SerializationTestEncoder::supportsEncoding function core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php
serializer.encoder.json service core/modules/serialization/serialization.services.yml Drupal\serialization\Encoder\JsonEncoder
serializer.encoder.jsonapi service core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Encoder\JsonEncoder
serializer.encoder.serialization_test service core/modules/serialization/tests/serialization_test/serialization_test.services.yml Drupal\serialization_test\SerializationTestEncoder
serializer.encoder.xml service core/modules/serialization/serialization.services.yml Drupal\serialization\Encoder\XmlEncoder
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.
StorageReplaceDataWrapper::encode function core/modules/config/src/StorageReplaceDataWrapper.php
Tags::encode function core/lib/Drupal/Component/Utility/Tags.php Encodes a tag string, taking care of special cases like commas and quotes.
UrlEncode class core/modules/migrate/src/Plugin/migrate/process/UrlEncode.php URL-encodes the input value.
UrlEncode.php file core/modules/migrate/src/Plugin/migrate/process/UrlEncode.php
UrlEncode::transform function core/modules/migrate/src/Plugin/migrate/process/UrlEncode.php
UrlEncodeTest class core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php @coversDefaultClass \Drupal\migrate\Plugin\migrate\process\UrlEncode
@group file
UrlEncodeTest.php file core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php
UrlEncodeTest::$migrationConfiguration property core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php
UrlEncodeTest::doTransform function core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php Perform the urlencode process plugin over the given value.
UrlEncodeTest::testUrls function core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php Cover various encoding scenarios.
@dataProvider urlDataProvider
UrlEncodeTest::urlDataProvider function core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php The data provider for testing URL encoding scenarios.
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.
XmlEncoder class core/modules/serialization/src/Encoder/XmlEncoder.php Adds XML support for serializer.
XmlEncoder.php file core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoder::$baseEncoder property core/modules/serialization/src/Encoder/XmlEncoder.php An instance of the Symfony XmlEncoder to perform the actual encoding.
XmlEncoder::$format property core/modules/serialization/src/Encoder/XmlEncoder.php The formats that this Encoder supports.
XmlEncoder::decode function core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoder::encode function core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoder::getBaseEncoder function core/modules/serialization/src/Encoder/XmlEncoder.php Gets the base encoder instance.
XmlEncoder::setBaseEncoder function core/modules/serialization/src/Encoder/XmlEncoder.php Sets the base encoder instance.
XmlEncoder::supportsDecoding function core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoder::supportsEncoding function core/modules/serialization/src/Encoder/XmlEncoder.php
XmlEncoderTest class core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php @coversDefaultClass \Drupal\serialization\Encoder\XmlEncoder
@group serialization
XmlEncoderTest.php file core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
XmlEncoderTest::$baseEncoder property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
XmlEncoderTest::$encoder property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php The XmlEncoder instance.
XmlEncoderTest::$testArray property core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php An array of test data.
XmlEncoderTest::setUp function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php
XmlEncoderTest::testDecode function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the decode() method.
XmlEncoderTest::testDefaultEncoderHasSerializer function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php @covers ::getBaseEncoder
XmlEncoderTest::testEncode function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the encode() method.
XmlEncoderTest::testSupportsDecoding function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the supportsDecoding() method.
XmlEncoderTest::testSupportsEncoding function core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php Tests the supportsEncoding() method.
Yaml::encode function core/lib/Drupal/Component/Serialization/Yaml.php
YamlPecl::encode function core/lib/Drupal/Component/Serialization/YamlPecl.php

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