Example #1
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Theme\Model\Config\Customization $customizationConfig
  * @param \Magento\DesignEditor\Model\Theme\Context $themeContext
  * @param \Magento\Core\Helper\Data $coreHelper
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Theme\Model\Config\Customization $customizationConfig, \Magento\DesignEditor\Model\Theme\Context $themeContext, \Magento\Core\Helper\Data $coreHelper, array $data = array())
 {
     $this->_coreHelper = $coreHelper;
     parent::__construct($context, $registry, $formFactory, $data);
     $this->_customizationConfig = $customizationConfig;
     $this->_themeContext = $themeContext;
 }
Example #2
0
 /**
  * @param \Magento\Backend\Block\Template\Context             $context
  * @param \Magento\Framework\Registry                         $registry
  * @param \Magento\Framework\Data\FormFactory                 $formFactory
  * @param \Magento\Catalog\Model\ResourceModel\Category\Collection $categoryCollection
  * @param \Magento\Framework\View\LayoutFactory               $layoutFactory
  * @param \Magento\Framework\Json\EncoderInterface            $jsonEncoder
  * @param \Magento\Framework\DB\Helper                        $resourceHelper
  * @param \Magento\Framework\App\Filesystem\DirectoryList     $directoryList
  * @param \Wyomind\Core\Helper\Data                           $coreHelper
  * @param array                                               $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Framework\App\Filesystem\DirectoryList $directoryList, \Wyomind\Core\Helper\Data $coreHelper, \Magento\Framework\ObjectManagerInterface $objectManager, array $data = [])
 {
     $this->_directoryList = $directoryList;
     $this->_coreHelper = $coreHelper;
     $this->_objectManager = $objectManager;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #3
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Store\Model\System\Store $systemStore, \Alin\Cadou\Model\Cadou\Source\ProductSelect $productSelect, \Magento\Store\Model\ResourceModel\Store\Collection $storeSelect, array $data = [])
 {
     $this->_systemStore = $systemStore;
     $this->_productSelect = $productSelect;
     $this->_storeSelect = $storeSelect;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #4
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Tax\Model\TaxClass\Source\Customer $taxCustomer
  * @param \Magento\Customer\Service\V1\CustomerGroupServiceInterface $groupService
  * @param \Magento\Customer\Service\V1\Data\CustomerGroupBuilder $groupBuilder
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Tax\Model\TaxClass\Source\Customer $taxCustomer, \Magento\Customer\Service\V1\CustomerGroupServiceInterface $groupService, \Magento\Customer\Service\V1\Data\CustomerGroupBuilder $groupBuilder, array $data = array())
 {
     $this->_taxCustomer = $taxCustomer;
     $this->_groupService = $groupService;
     $this->_groupBuilder = $groupBuilder;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #5
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Customer\Service\V1\CustomerGroupServiceInterface $customerGroup
  * @param \Magento\Framework\Convert\Object $objectConverter
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Customer\Service\V1\CustomerGroupServiceInterface $customerGroup, \Magento\Framework\Convert\Object $objectConverter, \Magento\Store\Model\System\Store $systemStore, array $data = array())
 {
     $this->_systemStore = $systemStore;
     $this->_customerGroup = $customerGroup;
     $this->_objectConverter = $objectConverter;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #6
0
 /**
  * Constructor
  *
  * @param Context     $context
  * @param Registry    $registry
  * @param FormFactory $formFactory
  * @param SystemStore $systemStore
  * @param Config      $config
  */
 public function __construct(Context $context, Registry $registry, FormFactory $formFactory, SystemStore $systemStore, Config $config)
 {
     $this->systemStore = $systemStore;
     $this->storeManager = $context->getStoreManager();
     $this->config = $config;
     return parent::__construct($context, $registry, $formFactory);
 }
Example #7
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\ProductVideo\Helper\Media $mediaHelper
  * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Framework\Json\EncoderInterface $jsonEncoder, \Magento\ProductVideo\Helper\Media $mediaHelper, array $data = [])
 {
     parent::__construct($context, $registry, $formFactory, $data);
     $this->mediaHelper = $mediaHelper;
     $this->jsonEncoder = $jsonEncoder;
     $this->setUseContainer(true);
 }
Example #8
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Newsletter\Model\QueueFactory $queueFactory
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param \Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Newsletter\Model\QueueFactory $queueFactory, \Magento\Store\Model\System\Store $systemStore, \Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig, array $data = [])
 {
     $this->_wysiwygConfig = $wysiwygConfig;
     $this->_systemStore = $systemStore;
     $this->_queueFactory = $queueFactory;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #9
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Eav\Model\Config $eavConfig
  * @param \Magento\DesignEditor\Model\Editor\Tools\Controls\Factory $controlFactory
  * @param \Magento\DesignEditor\Model\Theme\Context $themeContext
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Eav\Model\Config $eavConfig, \Magento\DesignEditor\Model\Editor\Tools\Controls\Factory $controlFactory, \Magento\DesignEditor\Model\Theme\Context $themeContext, array $data = [])
 {
     parent::__construct($context, $registry, $formFactory, $data);
     $this->_eavConfig = $eavConfig;
     $this->_controlFactory = $controlFactory;
     $this->_themeContext = $themeContext;
 }
Example #10
0
 public function __construct(Context $context, Registry $registry, FormFactory $formFactory, Config $wysiwygConfig, Store $systemStore, SlidersFactory $slidersFactory, array $data = [])
 {
     $this->_sliderFactory = $slidersFactory;
     $this->_systemStore = $systemStore;
     $this->_wysiwygConfig = $wysiwygConfig;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #11
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param Yesno $yesNo
  * @param Data $eavData
  * @param array $disableScopeChangeList
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, Yesno $yesNo, Data $eavData, array $disableScopeChangeList = ['sku'], array $data = [])
 {
     $this->_yesNo = $yesNo;
     $this->_eavData = $eavData;
     $this->disableScopeChangeList = $disableScopeChangeList;
     parent::__construct($context, $registry, $formFactory, $data);
 }
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \TanDinh\Banner\Model\Banners $bannerModel, array $data = [])
 {
     $this->_coreRegistry = $registry;
     $this->_formFactory = $formFactory;
     $this->_bannerModel = $bannerModel;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #13
0
 /**
  * @param Context $context
  * @param Registry $registry
  * @param FormFactory $formFactory
  * @param Config $wysiwygConfig
  * @param array $data
  */
 public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, Context $context, Registry $registry, FormFactory $formFactory, Config $wysiwygConfig, Status $manufacturerStatus, array $data = [])
 {
     $this->_wysiwygConfig = $wysiwygConfig;
     $this->_manufacturerStatus = $manufacturerStatus;
     parent::__construct($context, $registry, $formFactory, $data);
     $this->objectManager = $objectManager;
 }
Example #14
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Theme\Model\Layout\Source\Layout $pageLayout
  * @param \Magento\Framework\View\Design\Theme\LabelFactory $labelFactory
  * @param \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface $pageLayoutBuilder
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Theme\Model\Layout\Source\Layout $pageLayout, \Magento\Framework\View\Design\Theme\LabelFactory $labelFactory, \Magento\Framework\View\Model\PageLayout\Config\BuilderInterface $pageLayoutBuilder, array $data = [])
 {
     $this->pageLayoutBuilder = $pageLayoutBuilder;
     $this->_labelFactory = $labelFactory;
     $this->_pageLayout = $pageLayout;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #15
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Framework\DataObject $objectFactory
  * @param \Magebase\Carousel\Model\Banner $banner
  * @param \Magebase\Carousel\Model\Slider $slider
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Framework\DataObject $objectFactory, \Magebase\Carousel\Model\Banner $banner, \Magebase\Carousel\Model\Slider $slider, array $data = [])
 {
     $this->_objectFactory = $objectFactory;
     $this->_banner = $banner;
     $this->_sliderFactory = $slider;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #16
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Store\Model\System\Store $systemStore, \Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig, \Emizentech\StoreLocator\Model\Status $status, array $data = [])
 {
     $this->_systemStore = $systemStore;
     $this->_wysiwygConfig = $wysiwygConfig;
     $this->_status = $status;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #17
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Json\EncoderInterface $jsonEncoder
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Catalog\Model\CategoryFactory $categoryFactory
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Framework\Json\EncoderInterface $jsonEncoder, \Magento\Catalog\Model\CategoryFactory $categoryFactory, array $data = array())
 {
     $this->_jsonEncoder = $jsonEncoder;
     $this->_categoryFactory = $categoryFactory;
     parent::__construct($context, $registry, $formFactory, $data);
     $this->setUseContainer(true);
 }
Example #18
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context       
  * @param \Magento\Framework\Registry             $registry      
  * @param \Magento\Framework\Data\FormFactory     $formFactory   
  * @param \Magento\Store\Model\System\Store       $systemStore   
  * @param \Magento\Cms\Model\Wysiwyg\Config       $wysiwygConfig 
  * @param \Ves\Brand\Helper\Data                  $viewHelper    
  * @param array                                   $data          
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Store\Model\System\Store $systemStore, \Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig, \Ves\Brand\Helper\Data $viewHelper, array $data = [])
 {
     $this->_viewHelper = $viewHelper;
     $this->_systemStore = $systemStore;
     $this->_wysiwygConfig = $wysiwygConfig;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #19
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Review\Model\Rating\OptionFactory $optionFactory
  * @param \Magento\Framework\Session\SessionManagerInterface $session
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Review\Model\Rating\OptionFactory $optionFactory, \Magento\Framework\Session\SessionManagerInterface $session, \Magento\Store\Model\System\Store $systemStore, array $data = [])
 {
     $this->optionFactory = $optionFactory;
     $this->session = $session;
     $this->systemStore = $systemStore;
     parent::__construct($context, $registry, $formFactory, $data);
 }
 /**
  * constructor
  *
  * @param \Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig
  * @param \Magento\Config\Model\Config\Source\Yesno $booleanOptions
  * @param \Mageplaza\Blog\Model\Category\Source\MetaRobots $metaRobotsOptions
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param array $data
  */
 public function __construct(\Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig, \Magento\Config\Model\Config\Source\Yesno $booleanOptions, \Mageplaza\Blog\Model\Category\Source\MetaRobots $metaRobotsOptions, \Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, array $data = [])
 {
     $this->wysiwygConfig = $wysiwygConfig;
     $this->booleanOptions = $booleanOptions;
     $this->metaRobotsOptions = $metaRobotsOptions;
     parent::__construct($context, $registry, $formFactory, $data);
 }
 /**
  * Initialize dependencies.
  *
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Config\Model\Config\Source\Yesno $sourceYesno
  * @param \Magento\Rule\Block\Actions $ruleActions
  * @param \Magento\Backend\Block\Widget\Form\Renderer\Fieldset $rendererFieldset
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Config\Model\Config\Source\Yesno $sourceYesno, \Magento\Rule\Block\Actions $ruleActions, \Magento\Backend\Block\Widget\Form\Renderer\Fieldset $rendererFieldset, array $data = [])
 {
     $this->_rendererFieldset = $rendererFieldset;
     $this->_ruleActions = $ruleActions;
     $this->_sourceYesno = $sourceYesno;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #22
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\User\Model\UserFactory $userFactory
  * @param \Magento\Backend\Model\Auth\Session $authSession
  * @param \Magento\Framework\Locale\ListsInterface $localeLists
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\User\Model\UserFactory $userFactory, \Magento\Backend\Model\Auth\Session $authSession, \Magento\Framework\Locale\ListsInterface $localeLists, array $data = [])
 {
     $this->_userFactory = $userFactory;
     $this->_authSession = $authSession;
     $this->_localeLists = $localeLists;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #23
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\ImportExport\Model\Import $importModel
  * @param \Magento\ImportExport\Model\Source\Import\EntityFactory $entityFactory
  * @param \Magento\ImportExport\Model\Source\Import\Behavior\Factory $behaviorFactory
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\ImportExport\Model\Import $importModel, \Magento\ImportExport\Model\Source\Import\EntityFactory $entityFactory, \Magento\ImportExport\Model\Source\Import\Behavior\Factory $behaviorFactory, array $data = [])
 {
     $this->_entityFactory = $entityFactory;
     $this->_behaviorFactory = $behaviorFactory;
     parent::__construct($context, $registry, $formFactory, $data);
     $this->_importModel = $importModel;
 }
Example #24
0
 /**
  * Initialize dependencies.
  *
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Framework\Acl\RootResource $rootResource
  * @param \Magento\Framework\Acl\AclResource\ProviderInterface $aclResourceProvider
  * @param \Magento\Integration\Helper\Data $integrationData
  * @param \Magento\Integration\Api\IntegrationServiceInterface $integrationService
  * @param array $data
  *
  * @SuppressWarnings(PHPMD.ExcessiveParameterList)
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Framework\Acl\RootResource $rootResource, \Magento\Framework\Acl\AclResource\ProviderInterface $aclResourceProvider, \Magento\Integration\Helper\Data $integrationData, \Magento\Integration\Api\IntegrationServiceInterface $integrationService, array $data = [])
 {
     $this->rootResource = $rootResource;
     $this->aclResourceProvider = $aclResourceProvider;
     $this->integrationData = $integrationData;
     $this->integrationService = $integrationService;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #25
0
 /**
  * Constructor
  *
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Backend\Model\Session\Quote $sessionQuote
  * @param \Magento\GiftMessage\Helper\Message $messageHelper
  * @param \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository
  * @param \Magento\Customer\Helper\View $customerViewHelper
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Backend\Model\Session\Quote $sessionQuote, \Magento\GiftMessage\Helper\Message $messageHelper, \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository, \Magento\Customer\Helper\View $customerViewHelper, array $data = [])
 {
     $this->_messageHelper = $messageHelper;
     $this->_sessionQuote = $sessionQuote;
     $this->customerRepository = $customerRepository;
     $this->_customerViewHelper = $customerViewHelper;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #26
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Eav\Helper\Data $eavData
  * @param \Magento\Config\Model\Config\Source\YesnoFactory $yesnoFactory
  * @param \Magento\Eav\Model\Adminhtml\System\Config\Source\InputtypeFactory $inputTypeFactory
  * @param \Magento\Eav\Block\Adminhtml\Attribute\PropertyLocker $propertyLocker
  * @param array $data
  * @codeCoverageIgnore
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Eav\Helper\Data $eavData, \Magento\Config\Model\Config\Source\YesnoFactory $yesnoFactory, \Magento\Eav\Model\Adminhtml\System\Config\Source\InputtypeFactory $inputTypeFactory, \Magento\Eav\Block\Adminhtml\Attribute\PropertyLocker $propertyLocker, array $data = [])
 {
     $this->_eavData = $eavData;
     $this->_yesnoFactory = $yesnoFactory;
     $this->_inputTypeFactory = $inputTypeFactory;
     $this->propertyLocker = $propertyLocker;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #27
0
 /**
  * @param \Magento\Backend\Block\Widget\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\UrlRewrite\Model\OptionProvider $optionProvider
  * @param \Magento\UrlRewrite\Model\UrlRewriteFactory $rewriteFactory
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param \Magento\Backend\Helper\Data $adminhtmlData
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Widget\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\UrlRewrite\Model\OptionProvider $optionProvider, \Magento\UrlRewrite\Model\UrlRewriteFactory $rewriteFactory, \Magento\Store\Model\System\Store $systemStore, \Magento\Backend\Helper\Data $adminhtmlData, array $data = [])
 {
     $this->optionProvider = $optionProvider;
     $this->_rewriteFactory = $rewriteFactory;
     $this->_systemStore = $systemStore;
     $this->_adminhtmlData = $adminhtmlData;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #28
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Customer\Api\GroupRepositoryInterface $groupRepository
  * @param \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder
  * @param \Magento\Framework\Convert\DataObject $objectConverter
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Customer\Api\GroupRepositoryInterface $groupRepository, \Magento\Framework\Api\SearchCriteriaBuilder $searchCriteriaBuilder, \Magento\Framework\Convert\DataObject $objectConverter, \Magento\Store\Model\System\Store $systemStore, array $data = [])
 {
     $this->_systemStore = $systemStore;
     $this->_groupRepository = $groupRepository;
     $this->_searchCriteriaBuilder = $searchCriteriaBuilder;
     $this->_objectConverter = $objectConverter;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #29
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Tax\Model\TaxClass\Source\Customer $taxCustomer
  * @param \Magento\Tax\Helper\Data $taxHelper
  * @param \Magento\Customer\Api\GroupRepositoryInterface $groupRepository
  * @param \Magento\Customer\Api\Data\GroupInterfaceFactory $groupDataFactory
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Tax\Model\TaxClass\Source\Customer $taxCustomer, \Magento\Tax\Helper\Data $taxHelper, \Magento\Customer\Api\GroupRepositoryInterface $groupRepository, \Magento\Customer\Api\Data\GroupInterfaceFactory $groupDataFactory, array $data = [])
 {
     $this->_taxCustomer = $taxCustomer;
     $this->_taxHelper = $taxHelper;
     $this->_groupRepository = $groupRepository;
     $this->groupDataFactory = $groupDataFactory;
     parent::__construct($context, $registry, $formFactory, $data);
 }
Example #30
0
 /**
  * @param \Magento\Backend\Block\Template\Context $context
  * @param \Magento\Framework\Registry $registry
  * @param \Magento\Framework\Data\FormFactory $formFactory
  * @param \Magento\Store\Model\System\Store $systemStore
  * @param \Magento\Customer\Service\V1\CustomerAccountServiceInterface $customerAccount
  * @param \Magento\Catalog\Model\ProductFactory $productFactory
  * @param \Magento\Review\Helper\Data $reviewData
  * @param array $data
  */
 public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Data\FormFactory $formFactory, \Magento\Store\Model\System\Store $systemStore, \Magento\Customer\Service\V1\CustomerAccountServiceInterface $customerAccount, \Magento\Catalog\Model\ProductFactory $productFactory, \Magento\Review\Helper\Data $reviewData, array $data = array())
 {
     $this->_reviewData = $reviewData;
     $this->customerAccount = $customerAccount;
     $this->_productFactory = $productFactory;
     $this->_systemStore = $systemStore;
     parent::__construct($context, $registry, $formFactory, $data);
 }