InteractsWithActions
trait InteractsWithActions (View source)
Properties
string[] | $mountedActions | ||
array<string,array<string,mixed>> | $mountedActionsArguments | ||
array<string,array<string,mixed>> | $mountedActionsData | ||
mixed | $defaultAction | ||
mixed | $defaultActionArguments | ||
protected Action> | $cachedActions | ||
protected bool | $hasActionsModalRendered | ||
Form | $mountedActionForm |
Methods
mixed
callMountedAction(array $arguments = [])
No description
void
afterActionCalled()
No description
mixed
mountAction(string $name, array $arguments = [])
No description
void
replaceMountedAction(string $name, array $arguments = [])
No description
bool
mountedActionShouldOpenModal(Action|null $mountedAction = null)
No description
bool
mountedActionHasForm(Action|null $mountedAction = null)
No description
void
mergeCachedActions(array $actions)
No description
void
Action|null
getMountedAction()
No description
array
getInteractsWithActionsForms()
No description
Form|null
getMountedActionForm(Action|null $mountedAction = null)
No description
Model|string|null
getMountedActionFormModel()
No description
Action|null
getAction(string|array $name)
No description
Action|null
string|null
popMountedAction()
No description
void
resetMountedActionProperties()
No description
void
unmountAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)
No description
void
cacheMountedActionForm(Action|null $mountedAction = null)
No description
void
closeActionModal()
No description
void
openActionModal()
No description
string|null
getActiveActionsLocale()
No description
mountedActionInfolist()
No description
Details
mixed
callMountedAction(array $arguments = [])
No description
protected void
afterActionCalled()
No description
mixed
mountAction(string $name, array $arguments = [])
No description
void
replaceMountedAction(string $name, array $arguments = [])
No description
bool
mountedActionShouldOpenModal(Action|null $mountedAction = null)
No description
bool
mountedActionHasForm(Action|null $mountedAction = null)
No description
protected void
mergeCachedActions(array $actions)
No description
protected void
configureAction(Action $action)
No description
Action|null
getMountedAction()
No description
protected array
getInteractsWithActionsForms()
No description
Form|null
getMountedActionForm(Action|null $mountedAction = null)
No description
protected Model|string|null
getMountedActionFormModel()
No description
Action|null
getAction(string|array $name)
No description
protected Action|null
getMountableModalActionFromAction(Action $action, array $modalActionNames)
No description
protected string|null
popMountedAction()
No description
protected void
resetMountedActionProperties()
No description
void
unmountAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)
No description
protected void
cacheMountedActionForm(Action|null $mountedAction = null)
No description
protected void
closeActionModal()
No description
protected void
openActionModal()
No description
string|null
getActiveActionsLocale()
No description
Infolist
mountedActionInfolist()
No description