Via the config option output_data_config_toolkit.classification_store.display_mode
it is possible to choose
different display modes for classification store keys in the output definition config window:
all
: all classificationstore keys are displayed at the bottom of the config treeobject
: only keys which are in any assigned group of the current objectrelevant
:object
mode is used if any group is assigned, elseall
keys are shownnone
: No classificationstore keys are displayed
for eq.
$outputDataConfig = OutputDataConfigToolkitBundle\Service::getOutputDataConfig($object, 'Output config channel');
$outputDataConfig[0]->setClassificationstore('Attributes'); ### classificationstore field name in object
$outputDataConfig[0]->setClassificationstoreGroup('Product'); ### Classificationstore group name
# the old way was access the values directly
// $outputDataConfig[0]->classificationstore = 'Attributes'; ### classificationstore field name in object
// $outputDataConfig[0]->classificationstore_group = 'Product'; ### Classificationstore group name
$outputDataConfig[0]->getLabeledValue($object);