Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
c
d
e
f
g
h
i
m
p
r
s
t
u
+
Functions
_
c
d
e
f
g
h
i
m
p
r
s
t
u
Variables
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
c
d
e
f
g
m
o
r
s
t
v
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
vendor
magento
module-cms
Controller
Adminhtml
Page
Index.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Cms\Controller\Adminhtml\Page
;
8
9
use
Magento\Framework\App\Action\HttpGetActionInterface
as HttpGetActionInterface;
10
use
Magento\Backend\App\Action\Context
;
11
use
Magento\Framework\View\Result\PageFactory
;
12
13
class
Index
extends
\Magento\Backend\App\Action
implements HttpGetActionInterface
14
{
20
const
ADMIN_RESOURCE
=
'Magento_Cms::page'
;
21
25
protected
$resultPageFactory
;
26
31
public
function
__construct
(
32
Context
$context,
33
PageFactory
$resultPageFactory
34
) {
35
parent::__construct($context);
36
$this->resultPageFactory =
$resultPageFactory
;
37
}
38
44
public
function
execute
()
45
{
47
$resultPage = $this->resultPageFactory->create();
48
$resultPage->setActiveMenu(
'Magento_Cms::cms_page'
);
49
$resultPage->addBreadcrumb(
__
(
'CMS'
),
__
(
'CMS'
));
50
$resultPage->addBreadcrumb(
__
(
'Manage Pages'
),
__
(
'Manage Pages'
));
51
$resultPage->getConfig()->getTitle()->prepend(
__
(
'Pages'
));
52
53
$dataPersistor = $this->_objectManager->get(\
Magento
\Framework\
App
\Request\DataPersistorInterface::class);
54
$dataPersistor->clear(
'cms_page'
);
55
56
return
$resultPage;
57
}
58
}
Magento\Framework\App
Magento\Framework\App\Action\HttpGetActionInterface
Definition:
HttpGetActionInterface.php:16
Magento\Cms\Controller\Adminhtml\Page\Index\$resultPageFactory
$resultPageFactory
Definition:
Index.php:25
__
__()
Definition:
__.php:13
Magento\Framework\App\ActionInterface\execute
execute()
Magento\Framework\View\Result\PageFactory
Definition:
PageFactory.php:19
Magento\Backend\App\Action
Definition:
Action.php:17
Magento\Cms\Controller\Adminhtml\Page\Index\__construct
__construct(Context $context, PageFactory $resultPageFactory)
Definition:
Index.php:31
Magento\Cms\Controller\Adminhtml\Page\Index
Definition:
Index.php:13
Magento
Magento\Backend\App\Action\Context
Definition:
Context.php:25
Magento\Cms\Controller\Adminhtml\Page
Definition:
Delete.php:7
Magento\Cms\Controller\Adminhtml\Page\Index\ADMIN_RESOURCE
const ADMIN_RESOURCE
Definition:
Index.php:20