16 class Data extends \Magento\Framework\Validator\AbstractValidator
    48         $this->_attrDataFactory = $attrDataFactory;
    73         $this->_attributesWhiteList = $attributesCodes;
    87         $this->_attributesBlackList = $attributesCodes;
   127             $dataModel->setExtractedData(
$data);
   136         return count($this->_messages) == 0;
   148     protected function _getAttributes(
$entity)
   153         if ($this->_attributes) {
   156             $entity->getResource() instanceof \Magento\Eav\Model\Entity\AbstractEntity
   163         $attributesByCode = [];
   164         $attributesCodes = [];
   175         if ($this->_attributesWhiteList) {
   176             $ignoreAttributes = array_merge(
   178                 array_diff($attributesCodes, $this->_attributesWhiteList)
   186         return $attributesByCode;
   198         if (!array_key_exists(
$code, $this->_messages)) {
   199             $this->_messages[
$code] = $messages;
   201             $this->_messages[
$code] = array_merge($this->_messages[
$code], $messages);
 setAttributes(array $attributes)
 
elseif(isset( $params[ 'redirect_parent']))
 
__construct(\Magento\Eav\Model\AttributeDataFactory $attrDataFactory)
 
setAttributesBlackList(array $attributesCodes)
 
setAttributesWhiteList(array $attributesCodes)
 
_addErrorMessages($code, array $messages)