Skip to content

Commit 0d65469

Browse files
committed
Merge branch 'develop' of https://github.corp.ebay.com/magento2/magento2ce into MAGETWO-34652
Conflicts: dev/tests/static/testsuite/Magento/Test/Legacy/_files/obsolete_classes.php
2 parents 17937e0 + 7b66d72 commit 0d65469

File tree

190 files changed

+4075
-2350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+4075
-2350
lines changed

app/code/Magento/Bundle/Api/Data/LinkInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
namespace Magento\Bundle\Api\Data;
99

10+
/**
11+
* Interface LinkInterface
12+
* @api
13+
*/
1014
interface LinkInterface extends \Magento\Framework\Api\ExtensibleDataInterface
1115
{
1216
const PRICE_TYPE_FIXED = 0;

app/code/Magento/Bundle/Api/Data/OptionInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
namespace Magento\Bundle\Api\Data;
99

10+
/**
11+
* Interface OptionInterface
12+
* @api
13+
*/
1014
interface OptionInterface extends \Magento\Framework\Api\ExtensibleDataInterface
1115
{
1216
/**

app/code/Magento/Bundle/Api/Data/OptionTypeInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
*/
77
namespace Magento\Bundle\Api\Data;
88

9+
/**
10+
* Interface OptionTypeInterface
11+
* @api
12+
*/
913
interface OptionTypeInterface extends \Magento\Framework\Api\ExtensibleDataInterface
1014
{
1115
/**

app/code/Magento/Bundle/Api/ProductLinkManagementInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
*/
77
namespace Magento\Bundle\Api;
88

9+
/**
10+
* Interface for Management of ProductLink
11+
* @api
12+
*/
913
interface ProductLinkManagementInterface
1014
{
1115
/**

app/code/Magento/Bundle/Api/ProductOptionRepositoryInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
*/
77
namespace Magento\Bundle\Api;
88

9+
/**
10+
* Interface ProductOptionRepositoryInterface
11+
* @api
12+
*/
913
interface ProductOptionRepositoryInterface
1014
{
1115
/**

app/code/Magento/Bundle/Api/ProductOptionTypeListInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
*/
77
namespace Magento\Bundle\Api;
88

9+
/**
10+
* Interface ProductOptionTypeListInterface
11+
* @api
12+
*/
913
interface ProductOptionTypeListInterface
1014
{
1115
/**

app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,12 @@ public function getOptions()
110110
*/
111111
public function isDisabledField()
112112
{
113-
return $this->getProduct()->getId() &&
114-
$this->getAttribute()->getAttributeCode() === 'price' ||
115-
$this->getElement()->getReadonly();
113+
return $this->_getData('is_disabled_field')
114+
|| ($this->getProduct()->getId()
115+
&& $this->getAttribute()->getAttributeCode() === 'price'
116+
)
117+
|| $this->getElement()->getReadonly();
118+
116119
}
117120

118121
/**
@@ -142,7 +145,9 @@ public function getExtendedElement($switchAttributeCode)
142145
'values' => $this->getOptions(),
143146
'value' => $switchAttributeCode,
144147
'class' => 'required-entry next-toinput',
145-
'disabled' => $this->isDisabledField()
148+
'no_span' => true,
149+
'disabled' => $this->isDisabledField(),
150+
'value' => $this->getProduct()->getData($switchAttributeCode),
146151
]
147152
);
148153
}

app/code/Magento/Bundle/Pricing/Price/BundleOptionPriceInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
/**
99
* Option price interface
10+
* @api
1011
*/
1112
interface BundleOptionPriceInterface
1213
{

app/code/Magento/Bundle/Pricing/Price/DiscountProviderInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
/**
1010
* Interface DiscountProviderInterface
11+
* @api
1112
*/
1213
interface DiscountProviderInterface
1314
{

app/code/Magento/Bundle/Pricing/Price/FinalPriceInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
/**
1010
* Interface FinalPriceInterface
11+
* @api
1112
*/
1213
interface FinalPriceInterface extends \Magento\Catalog\Pricing\Price\FinalPriceInterface
1314
{

0 commit comments

Comments
 (0)