class BlocksController extends Controller (View source)

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Methods

__construct()

No description

void
removeMiddleware(string $middleware)

Attempts to unset the given middleware.

string
preview(Application $app, Factory $viewFactory, Request $request)

Render an HTML preview of a single block.

Details

__construct()

No description

void removeMiddleware(string $middleware)

Attempts to unset the given middleware.

Parameters

string $middleware

Return Value

void

string preview(Application $app, Factory $viewFactory, Request $request)

Render an HTML preview of a single block.

This is used by the full screen content editor.

Parameters

Application $app
Factory $viewFactory
Request $request

Return Value

string