Devise
Class

Devise\Sidebar\ResponseHandler

class ResponseHandler

Class ResponseHandler is the controller action that handles fetching the sidebar.

It is named

Methods

__construct(SidebarManager $Manager)

Construct new response handler for fetching the sidebar view

Response requestSidebarPartial(array $input)

Loads the sidebar menu which houses settings and grid items to be clicked on.

Response requestElementPartial(array $input)

When we click the element box inside of the sidebar it loads the form for a specific element

Response requestElementGridPartial(array $input)

Reloads the entire grid.

Details

at line 28
public __construct(SidebarManager $Manager)

Construct new response handler for fetching the sidebar view

Parameters

SidebarManager $Manager

at line 41
public Response requestSidebarPartial(array $input)

Loads the sidebar menu which houses settings and grid items to be clicked on.

Clicking on a grid item will allow us to edit the form for a specific element.

Parameters

array $input

Return Value

Response

at line 62
public Response requestElementPartial(array $input)

When we click the element box inside of the sidebar it loads the form for a specific element

Parameters

array $input

Return Value

Response

at line 84
public Response requestElementGridPartial(array $input)

Reloads the entire grid.

The grid is where all the elements/collection items reside. We can click on one of these grid items to load the element partial

Parameters

array $input

Return Value

Response