trait InteractsWithToolbarButtons (View source)

Methods

disableAllToolbarButtons(bool $condition = true)

No description

disableToolbarButtons(array $buttonsToDisable = [])

No description

enableToolbarButtons(array $buttonsToEnable = [])

No description

toolbarButtons(array|Closure $buttons = [])

No description

array
getToolbarButtons()

No description

bool
hasToolbarButton(string|array $button)

No description

Details

InteractsWithToolbarButtons disableAllToolbarButtons(bool $condition = true)

No description

Parameters

bool $condition

Return Value

InteractsWithToolbarButtons

InteractsWithToolbarButtons disableToolbarButtons(array $buttonsToDisable = [])

No description

Parameters

array $buttonsToDisable

Return Value

InteractsWithToolbarButtons

InteractsWithToolbarButtons enableToolbarButtons(array $buttonsToEnable = [])

No description

Parameters

array $buttonsToEnable

Return Value

InteractsWithToolbarButtons

InteractsWithToolbarButtons toolbarButtons(array|Closure $buttons = [])

No description

Parameters

array|Closure $buttons

Return Value

InteractsWithToolbarButtons

array getToolbarButtons()

No description

Return Value

array

bool hasToolbarButton(string|array $button)

No description

Parameters

string|array $button

Return Value

bool