Constructor: pageBlockDetails
A collapsible details block
Attributes:
Name | Type | Required | Description |
---|---|---|---|
open | Bool | Optional | Whether the block is open by default |
blocks | Array of PageBlock | Yes | Block contents |
title | RichText | Yes | Always visible heading for the block |
Type: PageBlock
Example:
$pageBlockDetails = ['_' => 'pageBlockDetails', 'open' => Bool, 'blocks' => [PageBlock, PageBlock], 'title' => RichText];