/**
* Converts an $hash to the Value defined by the field type.
*
* @param mixed $hash
*
* @return \eZ\Publish\Core\FieldType\Page\Value
*/
public function fromHash($hash)
{
if ($hash === null) {
return $this->getEmptyValue();
}
return $this->hashConverter->convertToValue($hash);
}