You are here

protected function MultiversionManager::termToBinary in Multiversion 8

Same name and namespace in other branches
  1. 8.2 src/MultiversionManager.php \Drupal\multiversion\MultiversionManager::termToBinary()
1 call to MultiversionManager::termToBinary()
MultiversionManager::newRevisionId in src/MultiversionManager.php

File

src/MultiversionManager.php, line 496

Class

MultiversionManager

Namespace

Drupal\multiversion

Code

protected function termToBinary(array $term) {

  // @todo: {@link https://www.drupal.org/node/2597478 Switch to BERT
  // serialization format instead of JSON.}
  return $this->serializer
    ->serialize($term, 'json');
}