\PageBlocks
Extension that applies blocks to a page.
- Author: bummzack
Synopsis
class PageBlocks
extends DataExtension
{
- // members
- private static array $has_many = ;
- private static bool $allow_publish_all = true;
- // methods
- public void updateCMSFields()
- public void updateCMSActions()
Hierarchy
Extends
- DataExtension
Members
private
- $allow_publish_all
—
bool
Whether or not the page should have a button to publish page & blocks with one click. - $has_many
Methods
public
- updateCMSActions() — Add the publish all button
- updateCMSFields()