The Scrapbook helper provides some simple functions for working with global scrapbooks.
Loading the Helper
$sh = Loader::helper(‘concrete/scrapbook’);
Returns the name of the personal scrapbook.
Returns a page object corresponding to where the global scrapbook areas live.
$areas = $sh->getAvailableScrapbooks()
Returns all areas on the global scrapbook page - ie, every global scrapbook created.
$sb = $sh->getDefault()
Returns the default scrapbook to add blocks to. This is typically the last one used.’
Sets the default scrapbook to add blocks to. This is typically the last one added to.