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-rule
Block
Conditions.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Rule\Block
;
7
8
use
Magento\Framework\Data\Form\Element\AbstractElement
;
9
10
class
Conditions
implements
\Magento\Framework\Data\Form\Element\Renderer\RendererInterface
11
{
16
public
function
render
(
AbstractElement
$element
)
17
{
18
if
(
$element
->getRule() &&
$element
->getRule()->getConditions()) {
19
return
$element
->getRule()->getConditions()->asHtmlRecursive();
20
}
21
return
''
;
22
}
23
}
Magento\Rule\Block
Definition:
Actions.php:6
Magento\Rule\Block\Conditions\render
render(AbstractElement $element)
Definition:
Conditions.php:16
Magento\Rule\Block\Conditions
Definition:
Conditions.php:10
Magento\Framework\Data\Form\Element\AbstractElement
Definition:
AbstractElement.php:21
$element
$element
Definition:
element.phtml:12