trait CanCreateRecords (View source)

Properties

static protected bool deprecated $canCreateAnother

Methods

static bool
canCreateAnother() deprecated

No description

static void
disableCreateAnother() 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

getCreateAction() deprecated

No description

Details

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 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

protected Action getCreateAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action