File tree Expand file tree Collapse file tree 16 files changed +55
-24
lines changed
app/code/Magento/Cms/Controller/Adminhtml Expand file tree Collapse file tree 16 files changed +55
-24
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Cms \Controller \Adminhtml \Block ;
7
7
8
- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
8
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
9
9
10
+ /**
11
+ * Edit CMS block action.
12
+ */
10
13
class Edit extends \Magento \Cms \Controller \Adminhtml \Block implements HttpGetActionInterface
11
14
{
12
15
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Cms \Controller \Adminhtml \Block ;
8
7
9
- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
8
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
9
10
+ /**
11
+ * Index action.
12
+ */
11
13
class Index extends \Magento \Cms \Controller \Adminhtml \Block implements HttpGetActionInterface
12
14
{
13
15
/**
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Cms \Controller \Adminhtml \Block ;
8
8
9
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
9
10
use Magento \Framework \Controller \ResultFactory ;
10
11
use Magento \Backend \App \Action \Context ;
11
12
use Magento \Ui \Component \MassAction \Filter ;
14
15
/**
15
16
* Class MassDelete
16
17
*/
17
- class MassDelete extends \Magento \Backend \App \Action
18
+ class MassDelete extends \Magento \Backend \App \Action implements HttpPostActionInterface
18
19
{
19
20
/**
20
21
* Authorization level of a basic admin session
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Cms \Controller \Adminhtml \Block ;
8
7
9
- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
8
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
9
10
+ /**
11
+ * Create CMS block action.
12
+ */
11
13
class NewAction extends \Magento \Cms \Controller \Adminhtml \Block implements HttpGetActionInterface
12
14
{
13
15
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Cms \Controller \Adminhtml \Block ;
8
7
9
- use Magento \Framework \App \Action \HttpPostActionInterface as HttpPostActionInterface ;
8
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
10
9
use Magento \Backend \App \Action \Context ;
11
10
use Magento \Cms \Api \BlockRepositoryInterface ;
12
11
use Magento \Cms \Model \Block ;
15
14
use Magento \Framework \Exception \LocalizedException ;
16
15
use Magento \Framework \Registry ;
17
16
17
+ /**
18
+ * Save CMS block action.
19
+ */
18
20
class Save extends \Magento \Cms \Controller \Adminhtml \Block implements HttpPostActionInterface
19
21
{
20
22
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Cms \Controller \Adminhtml \Page ;
8
7
9
- class Delete extends \Magento \Backend \App \Action
8
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
9
+
10
+ /**
11
+ * Delete CMS page action.
12
+ */
13
+ class Delete extends \Magento \Backend \App \Action implements HttpPostActionInterface
10
14
{
11
15
/**
12
16
* Authorization level of a basic admin session
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Cms \Controller \Adminhtml \Page ;
8
7
9
- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
8
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
9
use Magento \Backend \App \Action ;
11
10
11
+ /**
12
+ * Edit CMS page action.
13
+ */
12
14
class Edit extends \Magento \Backend \App \Action implements HttpGetActionInterface
13
15
{
14
16
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Cms \Controller \Adminhtml \Page ;
8
7
9
- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
8
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
9
use Magento \Backend \App \Action \Context ;
11
10
use Magento \Framework \View \Result \PageFactory ;
12
11
12
+ /**
13
+ * Index action.
14
+ */
13
15
class Index extends \Magento \Backend \App \Action implements HttpGetActionInterface
14
16
{
15
17
/**
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Cms \Controller \Adminhtml \Page ;
7
7
8
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
8
9
use Magento \Framework \Controller \ResultFactory ;
9
10
use Magento \Backend \App \Action \Context ;
10
11
use Magento \Ui \Component \MassAction \Filter ;
13
14
/**
14
15
* Class MassDelete
15
16
*/
16
- class MassDelete extends \Magento \Backend \App \Action
17
+ class MassDelete extends \Magento \Backend \App \Action implements HttpPostActionInterface
17
18
{
18
19
/**
19
20
* Authorization level of a basic admin session
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Cms \Controller \Adminhtml \Page ;
7
7
8
- use Magento \Framework \App \Action \HttpPostActionInterface as HttpPostActionInterface ;
8
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
9
9
use Magento \Framework \Controller \ResultFactory ;
10
10
use Magento \Backend \App \Action \Context ;
11
11
use Magento \Ui \Component \MassAction \Filter ;
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Cms \Controller \Adminhtml \Page ;
7
7
8
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
8
9
use Magento \Framework \Controller \ResultFactory ;
9
10
use Magento \Backend \App \Action \Context ;
10
11
use Magento \Ui \Component \MassAction \Filter ;
13
14
/**
14
15
* Class MassEnable
15
16
*/
16
- class MassEnable extends \Magento \Backend \App \Action
17
+ class MassEnable extends \Magento \Backend \App \Action implements HttpPostActionInterface
17
18
{
18
19
/**
19
20
* Authorization level of a basic admin session
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Cms \Controller \Adminhtml \Page ;
8
8
9
- class NewAction extends \Magento \Backend \App \Action
9
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
+
11
+ /**
12
+ * Create CMS page action.
13
+ */
14
+ class NewAction extends \Magento \Backend \App \Action implements HttpGetActionInterface
10
15
{
11
16
/**
12
17
* Authorization level of a basic admin session
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Cms \Controller \Adminhtml \Page ;
8
7
9
- use Magento \Framework \App \Action \HttpPostActionInterface as HttpPostActionInterface ;
8
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
10
9
use Magento \Backend \App \Action ;
11
10
use Magento \Cms \Model \Page ;
12
11
use Magento \Framework \App \Request \DataPersistorInterface ;
13
12
use Magento \Framework \Exception \LocalizedException ;
14
13
14
+ /**
15
+ * Save CMS page action.
16
+ */
15
17
class Save extends \Magento \Backend \App \Action implements HttpPostActionInterface
16
18
{
17
19
/**
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- *
4
3
* Copyright © Magento, Inc. All rights reserved.
5
4
* See COPYING.txt for license details.
6
5
*/
7
6
namespace Magento \Cms \Controller \Adminhtml \Page \Widget ;
8
7
9
8
use Magento \Framework \App \Action \HttpGetActionInterface ;
10
- use Magento \Framework \App \Action \HttpPostActionInterface as HttpPostActionInterface ;
9
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
11
10
use Magento \Backend \App \Action ;
12
11
12
+ /**
13
+ * Chooser Source action.
14
+ */
13
15
class Chooser extends Action implements HttpPostActionInterface, HttpGetActionInterface
14
16
{
15
17
/**
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Cms \Controller \Adminhtml \Wysiwyg \Images ;
8
8
9
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
9
10
use Magento \Framework \App \Filesystem \DirectoryList ;
10
11
11
12
/**
12
13
* Delete image folder.
13
14
*/
14
- class DeleteFolder extends \Magento \Cms \Controller \Adminhtml \Wysiwyg \Images
15
+ class DeleteFolder extends \Magento \Cms \Controller \Adminhtml \Wysiwyg \Images implements HttpPostActionInterface
15
16
{
16
17
/**
17
18
* @var \Magento\Framework\Controller\Result\JsonFactory
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Cms \Controller \Adminhtml \Wysiwyg \Images ;
8
8
9
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
9
10
use Magento \Framework \App \Filesystem \DirectoryList ;
10
11
11
12
/**
12
13
* Upload image.
13
14
*/
14
- class Upload extends \Magento \Cms \Controller \Adminhtml \Wysiwyg \Images
15
+ class Upload extends \Magento \Cms \Controller \Adminhtml \Wysiwyg \Images implements HttpPostActionInterface
15
16
{
16
17
/**
17
18
* @var \Magento\Framework\Controller\Result\JsonFactory
You can’t perform that action at this time.
0 commit comments