You are here

protected function ConfigDiffTransformer::stringifyValue in Update helper 2.x

Same name and namespace in other branches
  1. 8 src/ConfigDiffTransformer.php \Drupal\update_helper\ConfigDiffTransformer::stringifyValue()

Get string representation of value in format that it can be un-serialized.

Parameters

mixed $value: Value that should be serialized.

Return value

string Return string representation of value.

1 call to ConfigDiffTransformer::stringifyValue()
ConfigDiffTransformer::transform in src/ConfigDiffTransformer.php

File

src/ConfigDiffTransformer.php, line 115

Class

ConfigDiffTransformer
Config transformer for configuration diffing.

Namespace

Drupal\update_helper

Code

protected function stringifyValue($value) {
  return serialize($value);
}