Exemple #1
0
 /**
  * @param ContextInterface $context
  * @param ColumnFactory $columnFactory
  * @param AttributeRepository $attributeRepository
  * @param InlineEditUpdater $inlineEditor
  * @param array $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, ColumnFactory $columnFactory, AttributeRepository $attributeRepository, InlineEditUpdater $inlineEditor, array $components = [], array $data = [])
 {
     parent::__construct($context, $components, $data);
     $this->columnFactory = $columnFactory;
     $this->attributeRepository = $attributeRepository;
     $this->inlineEditUpdater = $inlineEditor;
 }
Exemple #2
0
 /**
  * @param \Magento\Framework\View\Element\UiComponent\ContextInterface $context
  * @param \Magento\Catalog\Ui\Component\ColumnFactory $columnFactory
  * @param \Magento\Catalog\Ui\Component\Listing\Attribute\RepositoryInterface $attributeRepository
  * @param array $components
  * @param array $data
  */
 public function __construct(\Magento\Framework\View\Element\UiComponent\ContextInterface $context, \Magento\Catalog\Ui\Component\ColumnFactory $columnFactory, \Magento\Catalog\Ui\Component\Listing\Attribute\RepositoryInterface $attributeRepository, array $components = [], array $data = [])
 {
     parent::__construct($context, $components, $data);
     $this->columnFactory = $columnFactory;
     $this->attributeRepository = $attributeRepository;
 }