class JavascriptConfigurationViewHelper extends AbstractViewHelper (View source)

ViewHelper for the backend JavaScript configuration. Renders the required JS snippet to configure the Neos backend.

Properties

protected bool $escapeOutput
protected array $settings
protected Bootstrap $bootstrap
protected ResourceManager $resourceManager
protected Service $i18nService
protected Context $securityContext
protected BackendAssetsUtility $backendAssetsUtility
protected DomainRepository $domainRepository

Methods

injectThrowableStorage(ThrowableStorageInterface $throwableStorage)

No description

void
injectSettings(array $settings)

No description

string
render()

No description

string
getStaticResourceWebBaseUri(string $resourcePath)

No description

array
getNodeTypeGroupsSettings()

No description

string
renderMaximumFileUploadSize()

Returns the lowest configured maximum upload file size

Details

injectThrowableStorage(ThrowableStorageInterface $throwableStorage)

No description

Parameters

ThrowableStorageInterface $throwableStorage

void injectSettings(array $settings)

No description

Parameters

array $settings

Return Value

void

string render()

No description

Return Value

string

protected string getStaticResourceWebBaseUri(string $resourcePath)

No description

Parameters

string $resourcePath

Return Value

string

protected array getNodeTypeGroupsSettings()

No description

Return Value

array

protected string renderMaximumFileUploadSize()

Returns the lowest configured maximum upload file size

Return Value

string