You are here

public static function SchemaMetatagManagerInterface::recomputeSerializedLength in Schema.org Metatag 8

Same name and namespace in other branches
  1. 8.2 src/SchemaMetatagManagerInterface.php \Drupal\schema_metatag\SchemaMetatagManagerInterface::recomputeSerializedLength()

Update serialized item length computations.

Prevent unserialization error if token replacements are different lengths than the original tokens.

Parameters

string $value: The string serialization value to recompute.

Return value

string The recomputed serialized value.

1 method overrides SchemaMetatagManagerInterface::recomputeSerializedLength()
SchemaMetatagManager::recomputeSerializedLength in src/SchemaMetatagManager.php
Update serialized item length computations.

File

src/SchemaMetatagManagerInterface.php, line 170

Class

SchemaMetatagManagerInterface
Interface SchemaMetatagManagerInterface.

Namespace

Drupal\schema_metatag

Code

public static function recomputeSerializedLength($value);