checkFieldVariables($tag_format)) { return; } $this->tag_format = $tag_format; return; } if (!in_array($tag_format, ['first_field', 'all_fields'])) { error_log('[TagListField]Could not validate tag format: '.$tag_format); return; } $this->tag_format = $tag_format; } public function getTag_format():string { return $this->tag_format; } }