Neos\FluidAdaptor\ViewHelpers\FormViewHelper::renderTrustedPropertiesField PHP Method

renderTrustedPropertiesField() protected method

Render the request hash field
protected renderTrustedPropertiesField ( ) : string
return string the hmac field
    protected function renderTrustedPropertiesField()
    {
        $formFieldNames = $this->viewHelperVariableContainer->get(\Neos\FluidAdaptor\ViewHelpers\FormViewHelper::class, 'formFieldNames');
        $requestHash = $this->mvcPropertyMappingConfigurationService->generateTrustedPropertiesToken($formFieldNames, $this->getFieldNamePrefix());
        return '<input type="hidden" name="' . $this->prefixFieldName('__trustedProperties') . '" value="' . htmlspecialchars($requestHash) . '" />' . chr(10);
    }