Editor\Classes\NewDocumentDescription

Overview

NewDocumentDescription contains information required for creating new documents in Editor.


Protected Properties

protected string $label

protected string $icon

protected mixed $metadata

protected mixed $documentData


Public Methods

public __construct()

public __construct($label, $metadata): void

public setIcon()

public setIcon($backgroundColor, $iconClassName): void

public setInitialDocumentData()

public setInitialDocumentData($documentData): void

public toArray()

public toArray(): void