trait CanCreateRecords (View source)

deprecated Deleting the Create page now opens the action in a modal.

Properties

static protected bool deprecated $canCreateAnother

Methods

bool
hasCreateAction() deprecated

No description

static bool
canCreateAnother() deprecated

No description

static void
disableCreateAnother() deprecated

No description

getCreateAction() deprecated

No description

void
fillCreateForm() deprecated

No description

void
create(bool $another = false) deprecated

No description

string|null
getCreatedNotificationMessage() deprecated

No description

void
createAnother() deprecated

No description

Model
handleRecordCreation(array $data) deprecated

No description

array
mutateFormDataBeforeCreate(array $data) deprecated

No description

Details

protected bool hasCreateAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

bool

static protected bool canCreateAnother() deprecated

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

No description

Return Value

bool

static void disableCreateAnother() deprecated

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

No description

Return Value

void

protected Action getCreateAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action

protected void fillCreateForm() deprecated

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

No description

Return Value

void

void create(bool $another = false) deprecated

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

No description

Parameters

bool $another

Return Value

void

protected string|null getCreatedNotificationMessage() deprecated

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

No description

Return Value

string|null

void createAnother() deprecated

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

No description

Return Value

void

protected Model handleRecordCreation(array $data) deprecated

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

No description

Parameters

array $data

Return Value

Model

protected array mutateFormDataBeforeCreate(array $data) deprecated

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

No description

Parameters

array $data

Return Value

array