BlocksController
class BlocksController extends Controller (View source)
Traits
AuthorizesRequests
DispatchesJobs
ValidatesRequests
Methods
string
preview(BlockRepository $blockRepository, Application $app, Factory $viewFactory, Request $request, Repository $config)
Render an HTML preview of a single block.
getChildrenBlock($block, $blockRepository)
No description
getChildrenPreview($blocks, $blocksCollection, $parentId, $blockId, $blockRepository)
No description
Details
__construct()
No description
void
removeMiddleware(string $middleware)
Attempts to unset the given middleware.
string
preview(BlockRepository $blockRepository, Application $app, Factory $viewFactory, Request $request, Repository $config)
Render an HTML preview of a single block.
This is used by the full screen content editor.
protected
getChildrenBlock($block, $blockRepository)
No description
protected
getChildrenPreview($blocks, $blocksCollection, $parentId, $blockId, $blockRepository)
No description