Smile\ElasticsuiteCatalogRule\Block\Product\Conditions::getNewChildUrl PHP Method

getNewChildUrl() public method

Get URL used to create a new child condition into the rule.
public getNewChildUrl ( ) : string
return string
    public function getNewChildUrl()
    {
        $urlParams = ['form' => $this->getElement()->getContainer()->getHtmlId(), 'element_name' => $this->getElement()->getName()];
        return $this->getUrl('catalog_search_rule/product_rule/conditions', $urlParams);
    }