Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BundleSku.php
Go to the documentation of this file.
1 <?php
7 
10 
15 {
16  const CODE_SKU_TYPE = 'sku_type';
17 
21  protected $arrayManager;
22 
27  {
28  $this->arrayManager = $arrayManager;
29  }
30 
34  public function modifyMeta(array $meta)
35  {
36  $meta = $this->arrayManager->merge(
37  $this->arrayManager->findPath(static::CODE_SKU_TYPE, $meta, null, 'children') . static::META_CONFIG_PATH,
38  $meta,
39  [
40  'valueMap' => [
41  'false' => '1',
42  'true' => '0'
43  ],
44  'validation' => [
45  'required-entry' => false
46  ]
47  ]
48  );
49 
50  return $meta;
51  }
52 
56  public function modifyData(array $data)
57  {
58  return $data;
59  }
60 }
return false
Definition: gallery.phtml:36