Chris@0: get('value')->getValue(); Chris@0: Chris@0: // Take into account that the name of the anonymous user is an empty string. Chris@0: if ($this->getEntity()->isAnonymous()) { Chris@0: return $value === NULL; Chris@0: } Chris@0: Chris@0: return $value === NULL || $value === ''; Chris@0: } Chris@0: Chris@0: }