Link Search Menu Expand Document

Constructor: pageBlockPreformatted

Back to constructors index

Preformatted (<pre> text)

Attributes:

NameTypeRequiredDescription
textRichTextYesText
languagestringYesProgramming language of preformatted text

Type: PageBlock

Example:

$pageBlockPreformatted = ['_' => 'pageBlockPreformatted', 'text' => RichText, 'language' => 'string'];