mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
94 lines
2.3 KiB
PHP
94 lines
2.3 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',
|
|
],
|
|
|
|
'enabled_countries' => [
|
|
'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();
|
|
$cur = array();
|
|
foreach ($array as $key => $value) {
|
|
$cur[$value['abv']] = $value['name'];
|
|
}
|
|
return $cur;
|
|
},
|
|
],
|
|
],
|
|
]; |