HasActions
trait HasActions (View source)
Properties
protected array | $actions | ||
protected Action> | $flatActions | ||
protected Htmlable|Closure|null | $actionsColumnLabel | ||
protected string|Closure|null | $actionsAlignment | ||
protected ActionsPosition|Closure|null | $actionsPosition |
Methods
actions(ActionGroup $actions, ActionsPosition|string|Closure|null $position = null)
No description
pushActions(ActionGroup $actions)
No description
actionsColumnLabel(Htmlable|Closure|null $label)
No description
actionsAlignment(string|Closure|null $alignment = null)
No description
actionsPosition(ActionsPosition|Closure|null $position = null)
No description
array
getActions()
No description
Action|null
getAction(string|array $name)
No description
array
getFlatActions()
No description
bool
hasAction(string $name)
No description
void
void
mergeCachedFlatActions(array $actions, bool $shouldOverwriteExistingActions = true)
No description
Action|null
getMountableModalActionFromAction(Action $action, array $modalActionNames, Model|null $mountedRecord = null)
No description
ActionsPosition
getActionsPosition()
No description
string|null
getActionsAlignment()
No description
Htmlable|null
getActionsColumnLabel()
No description
Details
HasActions
actions(ActionGroup $actions, ActionsPosition|string|Closure|null $position = null)
No description
HasActions
pushActions(ActionGroup $actions)
No description
HasActions
actionsColumnLabel(Htmlable|Closure|null $label)
No description
HasActions
actionsAlignment(string|Closure|null $alignment = null)
No description
HasActions
actionsPosition(ActionsPosition|Closure|null $position = null)
No description
array
getActions()
No description
Action|null
getAction(string|array $name)
No description
array
getFlatActions()
No description
bool
hasAction(string $name)
No description
protected void
cacheAction(Action $action, bool $shouldOverwriteExistingAction = true)
No description
protected void
mergeCachedFlatActions(array $actions, bool $shouldOverwriteExistingActions = true)
No description
protected Action|null
getMountableModalActionFromAction(Action $action, array $modalActionNames, Model|null $mountedRecord = null)
No description
ActionsPosition
getActionsPosition()
No description
string|null
getActionsAlignment()
No description
Htmlable|null
getActionsColumnLabel()
No description