Smile\ElasticsuiteCore\Controller\Adminhtml\Search\Request\RelevanceConfig\AbstractConfig::dispatch PHP Method

dispatch() public method

Check if current section is found and is allowed
public dispatch ( Magento\Framework\App\RequestInterface $request ) : Magento\Framework\App\ResponseInterface
$request Magento\Framework\App\RequestInterface The current request
return Magento\Framework\App\ResponseInterface
    public function dispatch(RequestInterface $request)
    {
        if (!$request->getParam('section')) {
            $request->setParam('section', $this->configStructure->getFirstSection()->getId());
        }
        return parent::dispatch($request);
    }