trait CanAttachRecords (View source)

Properties

protected Form|null $resourceAttachForm
static protected bool deprecated $canAttachAnother
static protected bool deprecated $shouldPreloadAttachFormRecordSelectOptions

Methods

static bool
canAttachAnother() deprecated

No description

static void
disableAttachAnother() deprecated

No description

static Form
attachForm(Form $form) deprecated

No description

getResourceAttachForm() deprecated

No description

static Select
getAttachFormRecordSelect() deprecated

No description

array
getAttachFormSchema() deprecated

No description

void
fillAttachForm() deprecated

No description

void
attach(bool $another = false) deprecated

No description

string|null
getAttachedNotificationMessage() deprecated

No description

getAttachAction() deprecated

No description

Details

static protected bool canAttachAnother() deprecated

deprecated Use `->disableAttachAnother()` on the action instead.

No description

Return Value

bool

static void disableAttachAnother() deprecated

deprecated Use `->disableAttachAnother()` on the action instead.

No description

Return Value

void

static Form attachForm(Form $form) deprecated

deprecated Use `->form()` on the action instead.

No description

Parameters

Form $form

Return Value

Form

protected Form getResourceAttachForm() deprecated

deprecated Use `->form()` on the action instead.

No description

Return Value

Form

static protected Select getAttachFormRecordSelect() deprecated

deprecated Use `->recordSelect()` on the action instead.

No description

Return Value

Select

protected array getAttachFormSchema() deprecated

deprecated Use `->form()` on the action instead.

No description

Return Value

array

protected void fillAttachForm() deprecated

deprecated Use `->mountUsing()` on the action instead.

No description

Return Value

void

void attach(bool $another = false) deprecated

deprecated Use `->action()` on the action instead.

No description

Parameters

bool $another

Return Value

void

protected string|null getAttachedNotificationMessage() deprecated

deprecated Use `->successNotificationTitle()` on the action instead.

No description

Return Value

string|null

protected Action getAttachAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action