File tree Expand file tree Collapse file tree 16 files changed +26
-16
lines changed
app/code/Magento/Cms/Controller/Adminhtml Expand file tree Collapse file tree 16 files changed +26
-16
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
10
class Edit extends \Magento \Cms \Controller \Adminhtml \Block implements HttpGetActionInterface
11
11
{
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 \HttpGetActionInterface as HttpGetActionInterface ;
9
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
10
11
11
class Index extends \Magento \Cms \Controller \Adminhtml \Block implements HttpGetActionInterface
12
12
{
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 6
6
*/
7
7
namespace Magento \Cms \Controller \Adminhtml \Block ;
8
8
9
- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
9
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
10
11
11
class NewAction extends \Magento \Cms \Controller \Adminhtml \Block implements HttpGetActionInterface
12
12
{
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 as HttpPostActionInterface ;
9
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
10
10
use Magento \Backend \App \Action \Context ;
11
11
use Magento \Cms \Api \BlockRepositoryInterface ;
12
12
use Magento \Cms \Model \Block ;
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Cms \Controller \Adminhtml \Page ;
8
8
9
- class Delete extends \Magento \Backend \App \Action
9
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
10
+
11
+ class Delete extends \Magento \Backend \App \Action implements HttpPostActionInterface
10
12
{
11
13
/**
12
14
* 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
- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
9
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
10
use Magento \Backend \App \Action ;
11
11
12
12
class Edit extends \Magento \Backend \App \Action implements HttpGetActionInterface
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Magento \Cms \Controller \Adminhtml \Page ;
8
8
9
- use Magento \Framework \App \Action \HttpGetActionInterface as HttpGetActionInterface ;
9
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
10
use Magento \Backend \App \Action \Context ;
11
11
use Magento \Framework \View \Result \PageFactory ;
12
12
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 ;
11
12
use Magento \Cms \Model \ResourceModel \Page \CollectionFactory ;
12
13
14
+
13
15
/**
14
16
* Class MassEnable
15
17
*/
16
- class MassEnable extends \Magento \Backend \App \Action
18
+ class MassEnable extends \Magento \Backend \App \Action implements HttpPostActionInterface
17
19
{
18
20
/**
19
21
* 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
+ class NewAction extends \Magento \Backend \App \Action implements HttpGetActionInterface
10
12
{
11
13
/**
12
14
* 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
- use Magento \Framework \App \Action \HttpPostActionInterface as HttpPostActionInterface ;
9
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
10
10
use Magento \Backend \App \Action ;
11
11
use Magento \Cms \Model \Page ;
12
12
use Magento \Framework \App \Request \DataPersistorInterface ;
Original file line number Diff line number Diff line change 7
7
namespace Magento \Cms \Controller \Adminhtml \Page \Widget ;
8
8
9
9
use Magento \Framework \App \Action \HttpGetActionInterface ;
10
- use Magento \Framework \App \Action \HttpPostActionInterface as HttpPostActionInterface ;
10
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
11
11
use Magento \Backend \App \Action ;
12
12
13
13
class Chooser extends Action implements HttpPostActionInterface, HttpGetActionInterface
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