interface HasForms (View source)

Methods

void
dispatchFormEvent(mixed ...$args)

No description

string|null
getActiveFormsLocale()

No description

TranslatableContentDriver|null
Form|null
getForm(string $name)

No description

TemporaryUploadedFile|null
getFormComponentFileAttachment(string $statePath)

No description

string|null
getFormComponentFileAttachmentUrl(string $statePath)

No description

array
getFormSelectOptionLabels(string $statePath)

No description

string|null
getFormSelectOptionLabel(string $statePath)

No description

array
getFormSelectOptions(string $statePath)

No description

array
getFormSelectSearchResults(string $statePath, string $search)

No description

array|null
getFormUploadedFiles(string $statePath)

No description

mixed
getOldFormState(string $statePath)

No description

bool
isCachingForms()

No description

void
removeFormUploadedFile(string $statePath, string $fileKey)

No description

void
reorderFormUploadedFiles(string $statePath, array $fileKeys)

No description

array<string,mixed>
validate($rules = null, array<string,string> $messages = [], array<string,string> $attributes = [])

No description

Details

void dispatchFormEvent(mixed ...$args)

No description

Parameters

mixed ...$args

Return Value

void

string|null getActiveFormsLocale()

No description

Return Value

string|null

TranslatableContentDriver|null makeFilamentTranslatableContentDriver()

No description

Return Value

TranslatableContentDriver|null

Form|null getForm(string $name)

No description

Parameters

string $name

Return Value

Form|null

TemporaryUploadedFile|null getFormComponentFileAttachment(string $statePath)

No description

Parameters

string $statePath

Return Value

TemporaryUploadedFile|null

string|null getFormComponentFileAttachmentUrl(string $statePath)

No description

Parameters

string $statePath

Return Value

string|null

array getFormSelectOptionLabels(string $statePath)

No description

Parameters

string $statePath

Return Value

array

string|null getFormSelectOptionLabel(string $statePath)

No description

Parameters

string $statePath

Return Value

string|null

array getFormSelectOptions(string $statePath)

No description

Parameters

string $statePath

Return Value

array

array getFormSelectSearchResults(string $statePath, string $search)

No description

Parameters

string $statePath
string $search

Return Value

array

array|null getFormUploadedFiles(string $statePath)

No description

Parameters

string $statePath

Return Value

array|null

mixed getOldFormState(string $statePath)

No description

Parameters

string $statePath

Return Value

mixed

bool isCachingForms()

No description

Return Value

bool

void removeFormUploadedFile(string $statePath, string $fileKey)

No description

Parameters

string $statePath
string $fileKey

Return Value

void

void reorderFormUploadedFiles(string $statePath, array $fileKeys)

No description

Parameters

string $statePath
array $fileKeys

Return Value

void

array<string,mixed> validate($rules = null, array<string,string> $messages = [], array<string,string> $attributes = [])

No description

Parameters

$rules
array<string,string> $messages
array<string,string> $attributes

Return Value

array<string,mixed>