6 declare(strict_types=1);
48 $attributeInputs = $args[
'attributes'];
59 'Attribute code %1 of entity type %2 not configured to have a type.',
67 'Invalid entity_type specified: %1',
79 'attribute_code' =>
$attribute[
'attribute_code'],
81 'attribute_type' => ucfirst($type)
96 $isCodeSet = isset(
$attribute[
'attribute_code']);
97 $isEntitySet = isset(
$attribute[
'entity_type']);
98 $messagePart = !$isCodeSet ?
'attribute_code' :
'entity_type';
99 $messagePart .= !$isCodeSet && !$isEntitySet ?
'/entity_type' :
'';
100 $identifier =
"Empty AttributeInput";
102 $identifier =
'attribute_code: ' .
$attribute[
'attribute_code'];
104 $identifier =
'entity_type: ' .
$attribute[
'entity_type'];
107 return new GraphQlInputException(
109 'Missing %1 for the input %2.',
110 [$messagePart, $identifier]
elseif(isset( $params[ 'redirect_parent']))
foreach( $_productCollection as $_product)() ?>" class $info