Link Search Menu Expand Document

Constructor: pageBlockDetails

Back to constructors index

A collapsible details block

Attributes:

NameTypeRequiredDescription
openBoolOptionalWhether the block is open by default
blocksArray of PageBlockYesBlock contents
titleRichTextYesAlways visible heading for the block

Type: PageBlock

Example:

$pageBlockDetails = ['_' => 'pageBlockDetails', 'open' => Bool, 'blocks' => [PageBlock, PageBlock], 'title' => RichText];