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)
vendor
magento
module-sitemap
Block
Adminhtml
Grid
Renderer
Action.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Sitemap\Block\Adminhtml\Grid\Renderer
;
7
11
class
Action
extends
\Magento\Backend\Block\Widget\Grid\Column\Renderer\Action
12
{
17
public
function
render
(\
Magento
\Framework\DataObject
$row
)
18
{
19
$this->
getColumn
()->setActions(
20
[
21
[
22
'url'
=> $this->
getUrl
(
'adminhtml/sitemap/generate'
, [
'sitemap_id'
=> $row->getSitemapId()]),
23
'caption'
=>
__
(
'Generate'
),
24
],
25
]
26
);
27
return
parent::render(
$row
);
28
}
29
}
Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer\getColumn
getColumn()
Definition:
AbstractRenderer.php:43
__
__()
Definition:
__.php:13
Magento\Sitemap\Block\Adminhtml\Grid\Renderer
Definition:
Action.php:6
Magento\Framework\View\Element\AbstractBlock\getUrl
getUrl($route='', $params=[])
Definition:
AbstractBlock.php:773
Magento\Sitemap\Block\Adminhtml\Grid\Renderer\Action
Definition:
Action.php:11
Magento\Sitemap\Block\Adminhtml\Grid\Renderer\Action\render
render(\Magento\Framework\DataObject $row)
Definition:
Action.php:17
Magento
$row
$row
Definition:
cart_rule_free_shipping.php:12