mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
90 lines
2.2 KiB
PHP
90 lines
2.2 KiB
PHP
<?php
|
|
use \Visiosoft\LocationModule\Country\CountryModel;
|
|
return [
|
|
'navigation_title' => [
|
|
'type' => 'anomaly.field_type.boolean',
|
|
"config" => [
|
|
"default_value" => 1,
|
|
]
|
|
],
|
|
'navigation_action' => [
|
|
'type' => 'anomaly.field_type.boolean',
|
|
"config" => [
|
|
"default_value" => 1,
|
|
]
|
|
],
|
|
'date_fields' => [
|
|
'type' => 'anomaly.field_type.boolean',
|
|
"config" => [
|
|
"default_value" => 1,
|
|
]
|
|
],
|
|
'price_fields' => [
|
|
'type' => 'anomaly.field_type.boolean',
|
|
"config" => [
|
|
"default_value" => 1,
|
|
]
|
|
],
|
|
'breadcrumbs' => [
|
|
'type' => 'anomaly.field_type.boolean',
|
|
"config" => [
|
|
"default_value" => 1,
|
|
]
|
|
],
|
|
'ad_details' => [
|
|
'type' => 'anomaly.field_type.boolean',
|
|
"config" => [
|
|
"default_value" => 1,
|
|
]
|
|
],
|
|
'ad_details_tab' => [
|
|
'type' => 'anomaly.field_type.boolean',
|
|
"config" => [
|
|
"default_value" => 1,
|
|
]
|
|
],
|
|
'latest_and_view_all_btn' => [
|
|
'type' => 'anomaly.field_type.boolean',
|
|
"config" => [
|
|
"default_value" => 1,
|
|
]
|
|
],
|
|
'register_page_instruction_logo' => [
|
|
'type' => 'anomaly.field_type.file',
|
|
"config" => [
|
|
"folders" => ['images'],
|
|
"mode" => "upload",
|
|
]
|
|
],
|
|
'register_page_alert_link' => [
|
|
'type' => 'anomaly.field_type.url',
|
|
"config" => [
|
|
"default_value" => "/",
|
|
]
|
|
],
|
|
"home_page_sub_categories_limit" => [
|
|
"type" => "anomaly.field_type.integer",
|
|
"config" => [
|
|
"default_value" => 5,
|
|
]
|
|
],
|
|
'style' => [
|
|
'type' => 'anomaly.field_type.editor',
|
|
],
|
|
|
|
'default_country' => [
|
|
'bind' => 'visiosoft.theme.base::countries.enabled',
|
|
'env' => 'ADV_ENABLED_COUNTRIES',
|
|
'type' => 'anomaly.field_type.select',
|
|
'required' => false,
|
|
'config' => [
|
|
'default_value' => function () {
|
|
return [config('visiosoft.theme.base::countries.default')];
|
|
},
|
|
'options' => function () {
|
|
$array = CountryModel::query()->get()->pluck('name', 'abv')->toArray();
|
|
return $array;
|
|
},
|
|
],
|
|
],
|
|
]; |