File tree Expand file tree Collapse file tree 4 files changed +2
-88
lines changed Expand file tree Collapse file tree 4 files changed +2
-88
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Cms \Api \Data ;
7
7
8
- use Magento \Framework \Api \ExtensibleDataInterface ;
9
- use Magento \Cms \Model \BlockExtensionInterface ;
10
-
11
8
/**
12
9
* CMS block interface.
13
10
* @api
14
11
*/
15
- interface BlockInterface extends ExtensibleDataInterface
12
+ interface BlockInterface
16
13
{
17
14
/**#@+
18
15
* Constants for keys of data array. Identical to the name of the getter in snake case
@@ -130,21 +127,4 @@ public function setUpdateTime($updateTime);
130
127
* @return BlockInterface
131
128
*/
132
129
public function setIsActive ($ isActive );
133
-
134
- /**
135
- * Retrieve existing extension attributes object or create a new one.
136
- *
137
- * @api
138
- * @return BlockExtensionInterface|null
139
- */
140
- public function getExtensionAttributes ();
141
-
142
- /**
143
- * Set an extension attributes object.
144
- *
145
- * @api
146
- * @param BlockExtensionInterface $extensionAttributes
147
- * @return $this
148
- */
149
- public function setExtensionAttributes (BlockExtensionInterface $ extensionAttributes );
150
130
}
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Cms \Api \Data ;
7
7
8
- use Magento \Framework \Api \ExtensibleDataInterface ;
9
- use Magento \Cms \Model \PageExtensionInterface ;
10
-
11
8
/**
12
9
* CMS page interface.
13
10
* @api
14
11
*/
15
- interface PageInterface extends ExtensibleDataInterface
12
+ interface PageInterface
16
13
{
17
14
/**#@+
18
15
* Constants for keys of data array. Identical to the name of the getter in snake case
@@ -306,21 +303,4 @@ public function setCustomThemeTo($customThemeTo);
306
303
* @return \Magento\Cms\Api\Data\PageInterface
307
304
*/
308
305
public function setIsActive ($ isActive );
309
-
310
- /**
311
- * Retrieve existing extension attributes object or create a new one.
312
- *
313
- * @api
314
- * @return PageExtensionInterface|null
315
- */
316
- public function getExtensionAttributes ();
317
-
318
- /**
319
- * Set an extension attributes object.
320
- *
321
- * @api
322
- * @param PageExtensionInterface $extensionAttributes
323
- * @return $this
324
- */
325
- public function setExtensionAttributes (PageExtensionInterface $ extensionAttributes );
326
306
}
Original file line number Diff line number Diff line change 8
8
use Magento \Cms \Api \Data \BlockInterface ;
9
9
use Magento \Cms \Model \ResourceModel \Block as ResourceCmsBlock ;
10
10
use Magento \Framework \DataObject \IdentityInterface ;
11
- use Magento \Cms \Model \BlockExtensionInterface ;
12
11
use Magento \Framework \Model \AbstractModel ;
13
12
14
13
/**
@@ -246,26 +245,4 @@ public function getAvailableStatuses()
246
245
{
247
246
return [self ::STATUS_ENABLED => __ ('Enabled ' ), self ::STATUS_DISABLED => __ ('Disabled ' )];
248
247
}
249
-
250
- /**
251
- * {@inheritdoc}
252
- *
253
- * @return BlockExtensionInterface|null
254
- */
255
- public function getExtensionAttributes ()
256
- {
257
- return $ this ->_getData (self ::EXTENSION_ATTRIBUTES_KEY );
258
- }
259
-
260
- /**
261
- * {@inheritdoc}
262
- *
263
- * @param BlockExtensionInterface $extensionAttributes
264
- * @return $this
265
- */
266
- public function setExtensionAttributes (BlockExtensionInterface $ extensionAttributes )
267
- {
268
- $ this ->setData (self ::EXTENSION_ATTRIBUTES_KEY , $ extensionAttributes );
269
- return $ this ;
270
- }
271
248
}
Original file line number Diff line number Diff line change 9
9
use Magento \Cms \Model \ResourceModel \Page as ResourceCmsPage ;
10
10
use Magento \Framework \DataObject \IdentityInterface ;
11
11
use Magento \Framework \Model \AbstractModel ;
12
- use Magento \Cms \Model \PageExtensionInterface ;
13
12
14
13
/**
15
14
* Cms Page Model
@@ -506,26 +505,4 @@ public function setIsActive($isActive)
506
505
{
507
506
return $ this ->setData (self ::IS_ACTIVE , $ isActive );
508
507
}
509
-
510
- /**
511
- * {@inheritdoc}
512
- *
513
- * @return PageExtensionInterface|null
514
- */
515
- public function getExtensionAttributes ()
516
- {
517
- return $ this ->_getData (self ::EXTENSION_ATTRIBUTES_KEY );
518
- }
519
-
520
- /**
521
- * {@inheritdoc}
522
- *
523
- * @param PageExtensionInterface $extensionAttributes
524
- * @return $this
525
- */
526
- public function setExtensionAttributes (PageExtensionInterface $ extensionAttributes )
527
- {
528
- $ this ->setData (self ::EXTENSION_ATTRIBUTES_KEY , $ extensionAttributes );
529
- return $ this ;
530
- }
531
508
}
You can’t perform that action at this time.
0 commit comments