Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ConversionId.php
Go to the documentation of this file.
1 <?php
9 
15 {
21  protected function _getValidationRulesBeforeSave()
22  {
23  $this->_validatorComposite->addRule(
24  $this->_validatorFactory->createConversionIdValidator($this->getValue()),
25  'conversion_id'
26  );
28  }
29 
35  public function getConversionId()
36  {
37  return $this->getValue();
38  }
39 }