*/ public static function getValidations() { return [ 'enabled' => 'nullable|string', 'information' => 'nullable|string', ]; } /** * Summary of optionTypes * Only used for the settings page * @return array>> */ public static function getOptionInputData() { return [ 'category_icon' => 'fas fa-ticket-alt', 'enabled' => [ 'label' => 'Enabled', 'type' => 'boolean', 'description' => 'Enable or disable the ticket system.', ], 'information' => [ 'label' => 'Ticket Information', 'type' => 'textarea', 'description' => 'Message shown on the right side when users create a new ticket.', ], ]; } }