Search for serialize

  1. Search 7.x for serialize
  2. Search 8.9.x for serialize
  3. Search 10.3.x for serialize
  4. Search 11.x for serialize
  5. Other projects
Title Object type File name Summary
MenuTreeParameters::serialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::unserialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::__serialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParameters::__unserialize function core/lib/Drupal/Core/Menu/MenuTreeParameters.php
MenuTreeParametersTest::testSerialize function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php @covers ::serialize
@covers ::unserialize
MenuTreeStorage::$serializedFields property core/lib/Drupal/Core/Menu/MenuTreeStorage.php List of serialized fields.
MenuTreeStorage::serializedFields function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Determines serialized fields in the storage.
ModerationStateFieldItemListTest::entityUnserializeTestCases function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Test cases for ::testEntityUnserialize.
ModerationStateFieldItemListTest::testEntityUnserialize function core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php Tests the moderation_state field after an entity has been serialized.
NormalizerTestBase::$serializer property core/modules/hal/tests/src/Kernel/NormalizerTestBase.php The mock serializer.
OptimizedPhpArrayDumper::$serialize property core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Whether to serialize service definitions or not.
OptimizedPhpArrayDumperTest::serializeDefinition function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Helper function to serialize a definition.
PhpArrayDumperTest::serializeDefinition function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php Helper function to serialize a definition.
PhpSerialize class core/lib/Drupal/Component/Serialization/PhpSerialize.php Default serialization for serialized PHP.
PhpSerialize.php file core/lib/Drupal/Component/Serialization/PhpSerialize.php
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.
PhpSerialize::getFileExtension function core/lib/Drupal/Component/Serialization/PhpSerialize.php Gets the file extension for this serialization format.
RequestHandler::$serializer property core/modules/rest/src/RequestHandler.php The serializer.
RequestHandler::deserialize function core/modules/rest/src/RequestHandler.php Deserializes request body, if any.
ResourceBase::$serializerFormats property core/modules/rest/src/Plugin/ResourceBase.php The available serialization formats.
ResourceObjectNormalizer::serializeField function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php Serializes a given field.
ResourceObjectNormalizerCacherTest::$serializer property core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php The JSON:API serializer.
ResourceResponseSubscriber::$serializer property core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php The serializer.
ResourceResponseSubscriber::$serializer property core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php The serializer.
ResourceTestBase::$serializer property core/modules/rest/tests/src/Functional/ResourceTestBase.php The serializer service.
ResourceTestBase::$serializer property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The serializer service.
RouteProvider::$serializedRoutes property core/lib/Drupal/Core/Routing/RouteProvider.php A cache of already-loaded serialized routes, keyed by route name.
serialization.phpserialize service core/core.services.yml Drupal\Component\Serialization\PhpSerialize
SerializationTest::$serializer property core/modules/serialization/tests/src/Kernel/SerializationTest.php The serializer service to test.
SerializationTest::testSerializerComponentRegistration function core/modules/serialization/tests/src/Kernel/SerializationTest.php Confirms that modules can register normalizers and encoders.
Serialized class core/modules/views/src/Plugin/views/field/Serialized.php Field handler to show data of serialized fields.
Serialized.php file core/modules/views/src/Plugin/views/field/Serialized.php
Serialized::buildOptionsForm function core/modules/views/src/Plugin/views/field/Serialized.php Default option form that provides label widget that all fields should have.
Serialized::defineOptions function core/modules/views/src/Plugin/views/field/Serialized.php Information about options for all kinds of purposes will be held here.
Serialized::render function core/modules/views/src/Plugin/views/field/Serialized.php Renders the field.
Serialized::validateOptionsForm function core/modules/views/src/Plugin/views/field/Serialized.php Validate the options form.
SerializedColumnNormalizerTrait trait core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php A trait providing methods for serialized columns.
SerializedColumnNormalizerTrait.php file core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php
SerializedColumnNormalizerTrait::checkForSerializedStrings function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Checks if there is a serialized string for a column.
SerializedColumnNormalizerTrait::dataHasStringForSerializeColumn function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Checks if the data contains string value for serialize column.
SerializedColumnNormalizerTrait::getCustomSerializedPropertyNames function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Gets the names of all properties the plugin treats as serialized data.
SerializedColumnNormalizerTrait::getSerializedPropertyNames function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Gets the names of all serialized properties.
SerializedItem class core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedItem.php Defines the 'serialized_item' entity field type.
SerializedItem.php file core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedItem.php
SerializedItem::propertyDefinitions function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedItem.php Defines field item properties.
SerializedItem::schema function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedItem.php Returns the schema for the field.
SerializedPropertyItem class core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedPropertyItem.php Defines the 'serialized_property_item_test' entity field type.
SerializedPropertyItem.php file core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedPropertyItem.php
SerializedPropertyItem::propertyDefinitions function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedPropertyItem.php Defines field item properties.

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