Bricks
Bricks are a reusable way of defining groups of custom fields. In other systems, you may call these blocks or components.
To create a brick, simply import the BrickBuilder
class and create a new instance of it. Using the builder pattern, you can chain custom field methods on the brick to define its structure.
Example
Available Custom Field methods
addFields
addTab
addRepeater
&endRepeater
addText
addWysiwyg
addMedia
addNumber
addCheckbox
addSelect
addTextarea
addJSON
addColour
addDateTime
addLink
addUser
addDocument