my
Size: a a a
my
jd
jd
S
Nr
Nr
М
Nr
A
Nr
Nr
Nr
PL
PL
EB
A
EB
$widgetTypes = [
'fields',
'tabs',
'secondaryTabs'
];
$configFile = plugins_path('lovata/basecode/config/product/fields.yaml');
$config = Yaml::parse(File::get($configFile));
foreach ($widgetTypes as $type) {
if (is_array($obWidget->$type)) {
debug(array_key_exists($type, $config));
if (array_key_exists($type, $config)) {
$obWidget->$type = [];
$obWidget->$type = $config[$type];
}
}
}
I
<a data-toggle="someth">enable</a>
S
A