You are here

public function ContentHasherInterface::writeHash in Tome 8

Writes a content hash.

Parameters

string $encoded_content: The encoded content, typically JSON.

string $content_name: The content name.

1 method overrides ContentHasherInterface::writeHash()
ContentHasher::writeHash in modules/tome_sync/src/ContentHasher.php
Writes a content hash.

File

modules/tome_sync/src/ContentHasherInterface.php, line 18

Class

ContentHasherInterface
Interface for classes that can hash normalized content.

Namespace

Drupal\tome_sync

Code

public function writeHash($encoded_content, $content_name);