icon(__('filament.table_actions.base.prune.icon')); } /** * Get the fields available on the action. * * @param Form $form * @return Form * * @noinspection PhpMissingParentCallCommonInspection */ public function getForm(Form $form): Form { return $form ->schema([ TextInput::make('hours') ->label(__('filament.actions.storage.prune.fields.hours.name')) ->helperText(__('filament.actions.storage.prune.fields.hours.help')) ->numeric(), ]); } /** * Get the underlying storage action. * * @param array $fields * @return BasePruneAction */ abstract protected function storageAction(array $fields): BasePruneAction; }