/**
  * ValidateAddress constructor
  *
  * @param ContextInterface $context
  * @param UrlInterface $urlBuilder
  * @param Config $config
  * @param \Magento\Store\Model\StoreManagerInterface $storeManager
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, UrlInterface $urlBuilder, Config $config, \Magento\Store\Model\StoreManagerInterface $storeManager, array $components = [], array $data = [])
 {
     parent::__construct($context, $components, $data);
     $this->storeManager = $storeManager;
     $this->urlBuilder = $urlBuilder;
     $this->config = $config;
 }
 /**
  * @param ContextInterface $context
  * @param UiComponentFactory $uiComponentFactory
  * @param FilterBuilder $filterBuilder
  * @param FilterModifier $filterModifier
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, UiComponentFactory $uiComponentFactory, FilterBuilder $filterBuilder, FilterModifier $filterModifier, array $components = [], array $data = [])
 {
     $this->uiComponentFactory = $uiComponentFactory;
     $this->filterBuilder = $filterBuilder;
     parent::__construct($context, $components, $data);
     $this->filterData = $this->getContext()->getFiltersParams();
     $this->filterModifier = $filterModifier;
 }
Exemplo n.º 3
0
 /**
  * @param ContextInterface $context
  * @param FilterBuilder $filterBuilder
  * @param UiComponentInterface[] $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, FilterBuilder $filterBuilder, array $components = [], array $data = [])
 {
     $this->filterBuilder = $filterBuilder;
     parent::__construct($context, $components, $data);
 }
Exemplo n.º 4
0
 /**
  * @param ContextInterface $context
  * @param BookmarkRepositoryInterface $bookmarkRepository
  * @param BookmarkManagementInterface $bookmarkManagement
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, BookmarkRepositoryInterface $bookmarkRepository, BookmarkManagementInterface $bookmarkManagement, array $components = [], array $data = [])
 {
     parent::__construct($context, $components, $data);
     $this->bookmarkRepository = $bookmarkRepository;
     $this->bookmarkManagement = $bookmarkManagement;
 }
Exemplo n.º 5
0
 /**
  * Constructor
  *
  * @param ContextInterface $context
  * @param UiComponentFactory $uiComponentFactory
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, UiComponentFactory $uiComponentFactory, array $components = [], array $data = [])
 {
     $this->uiComponentFactory = $uiComponentFactory;
     parent::__construct($context, $components, $data);
 }
Exemplo n.º 6
0
 /**
  * Constructor
  *
  * @param ContextInterface $context
  * @param BlockInterface $block
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, BlockInterface $block, array $components = [], array $data = [])
 {
     $this->block = $block;
     parent::__construct($context, $components, $data);
 }
Exemplo n.º 7
0
 /**
  * Constructor
  *
  * @param ContextInterface $context
  * @param UiComponentFactory $uiComponentFactory
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, UiComponentFactory $uiComponentFactory, array $components = [], array $data = [])
 {
     $this->uiComponentFactory = $uiComponentFactory;
     parent::__construct($context, $components, $data);
     $this->filterData = $this->getContext()->getRequestParam(static::FILTER_VAR);
 }
Exemplo n.º 8
0
 /**
  * Constructor
  *
  * @param ContextInterface $context
  * @param DataProviderInterface $dataProvider
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, DataProviderInterface $dataProvider, array $components = [], array $data = [])
 {
     $this->dataProvider = $dataProvider;
     $context->setDataProvider($dataProvider);
     parent::__construct($context, $components, $data);
 }
Exemplo n.º 9
0
 /**
  * Constructor
  *
  * @param ContextInterface $context
  * @param LayoutPool $layoutPool
  * @param string $type
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, LayoutPool $layoutPool, $type, array $components = [], array $data = [])
 {
     $this->layoutPool = $layoutPool;
     $this->type = $type;
     parent::__construct($context, $components, $data);
 }
Exemplo n.º 10
0
 /**
  * @param ContextInterface $context
  * @param UrlInterface $urlBuilder
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, UrlInterface $urlBuilder, array $components = [], array $data = [])
 {
     parent::__construct($context, $components, $data);
     $this->urlBuilder = $urlBuilder;
 }
Exemplo n.º 11
0
 /**
  * Constructor
  *
  * @param ContextInterface $context
  * @param BlockInterface $block
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, BlockInterface $block, array $components = [], array $data = [])
 {
     parent::__construct($context, $components, $data);
     $this->block = $block;
     $this->block->setLayout($context->getPageLayout());
 }
Exemplo n.º 12
0
 /**
  * @param ContextInterface $context
  * @param array $components
  * @param array $data
  * @param array|JsonSerializable $actions
  */
 public function __construct(ContextInterface $context, array $components = [], array $data = [], $actions = null)
 {
     parent::__construct($context, $components, $data);
     $this->actions = $actions;
 }