src/Loaders/EavAttributeOptionValueLoader.php
/**
     * Loads and returns data the custom validation data.
     *
     * @param \TechDivision\Import\Configuration\ParamsConfigurationInterface $configuration The configuration instance to load the validations from
     *
     * @return \ArrayAccess The array with the data
     */
Loads and returns data the custom validation data.
@param \TechDivision\Import\Configuration\ParamsConfigurationInterface $configuration The configuration instance to load the validations from

@return \ArrayAccess The array with the data
Loads and returns data the custom validation data . @param \ TechDivision \ Import \ Configuration \ ParamsConfigurationInterface $configuration The configuration instance to load the validations from @return \ ArrayAccess The array with the data
public function load(SubjectConfigurationInterface $configuration = null)
    {
        $entityTypeCode = $configuration->getExecutionContext()->getEntityTypeCode();
        if (isset($this->eavAttributeOptionValues[$entityTypeCode])) {
            return $this->eavAttributeOptionValues[$entityTypeCode];
        }
        return array();
    }
public function load ( SubjectConfigurationInterface $ configuration = null ) { $ entityTypeCode = $ configuration -> getExecutionContext ( ) -> getEntityTypeCode ( ) ; if ( isset ( $ this -> eavAttributeOptionValues [ $ entityTypeCode ] ) ) { return $ this -> eavAttributeOptionValues [ $ entityTypeCode ] ; } return array ( ) ; }
Loads and returns data the custom validation data.
Loads and returns data the custom validation data .
// load the entity type code from the passed subject configuration // return the available attribute option values for the entity type // return an empty array otherwise