Plugin.php
/**
     * Registers front-end content blocks implemented in this plugin.
     * 
     * @return array
     */
Registers front-end content blocks implemented in this plugin.

@return array
Registers front - end content blocks implemented in this plugin . @return array
public function registerContentBlocks()
    {
        return [
            \Hollingworth\Pages\Components\TextBlock::class => 'hollingworth_pages_text_block',
            \Hollingworth\Pages\Components\UrlBlock::class  => 'hollingworth_pages_url_block',
            \Hollingworth\Pages\Components\RichtextBlock::class => 'hollingworth_pages_richtext_block',
            \Hollingworth\Pages\Components\FileBlock::class => 'hollingworth_pages_file_block',
            \Hollingworth\Pages\Components\ImageBlock::class => 'hollingworth_pages_image_block',
        ];
    }
public function registerContentBlocks ( ) { return [ \ Hollingworth \ Pages \ Components \ TextBlock :: class => 'hollingworth_pages_text_block' , \ Hollingworth \ Pages \ Components \ UrlBlock :: class => 'hollingworth_pages_url_block' , \ Hollingworth \ Pages \ Components \ RichtextBlock :: class => 'hollingworth_pages_richtext_block' , \ Hollingworth \ Pages \ Components \ FileBlock :: class => 'hollingworth_pages_file_block' , \ Hollingworth \ Pages \ Components \ ImageBlock :: class => 'hollingworth_pages_image_block' , ] ; }
Registers front-end content blocks implemented in this plugin.
Registers front - end content blocks implemented in this plugin .