BlockLayoutInterface

Known implementers

Omeka\Site\BlockLayout\AbstractBlockLayout , Omeka\Site\BlockLayout\BrowsePreview , Omeka\Site\BlockLayout\Fallback , Omeka\Site\BlockLayout\Html , Omeka\Site\BlockLayout\ItemShowcase , Omeka\Site\BlockLayout\ItemWithMetadata , Omeka\Site\BlockLayout\LineBreak , Omeka\Site\BlockLayout\Media , Omeka\Site\BlockLayout\PageTitle , Omeka\Site\BlockLayout\TableOfContents

Methods Summary
public
# getLabel( )
Get a human-readable label for the block layout.
public
# prepareForm( Zend\View\Renderer\PhpRenderer $view )
Prepare the view to enable the block layout form. Typically used to append JavaScript to the head.
public
# prepareRender( Zend\View\Renderer\PhpRenderer $view )
Prepare the view to enable the block layout render. Typically used to append JavaScript to the head.
public
# onHydrate( Omeka\Entity\SitePageBlock $block , Omeka\Stdlib\ErrorStore $errorStore )
Process and validate block data.
public
# form( Zend\View\Renderer\PhpRenderer $view , Omeka\Api\Representation\SiteRepresentation $site , Omeka\Api\Representation\SitePageRepresentation $page = NULL, Omeka\Api\Representation\SitePageBlockRepresentation $block = NULL )
Render a form for adding/editing a block.
public
# render( Zend\View\Renderer\PhpRenderer $view , Omeka\Api\Representation\SitePageBlockRepresentation $block )
Render the provided block.