/** * @param \Magento\Framework\Data\Form\Element\Factory $factoryElement * @param \Magento\Framework\Data\Form\Element\CollectionFactory $factoryCollection * @param \Magento\Framework\Escaper $escaper * @param \Magento\Framework\UrlInterface $urlBuilder * @param \Magento\Framework\StoreManagerInterface $storeManager * @param array $data */ public function __construct(\Magento\Framework\Data\Form\Element\Factory $factoryElement, \Magento\Framework\Data\Form\Element\CollectionFactory $factoryCollection, \Magento\Framework\Escaper $escaper, \Magento\Framework\UrlInterface $urlBuilder, \Magento\Framework\StoreManagerInterface $storeManager, $data = array()) { $this->_storeManager = $storeManager; parent::__construct($factoryElement, $factoryCollection, $escaper, $urlBuilder, $data); }
/** * @param ArticleImage $imageModel * @param ElementFactory $factoryElement * @param ElementCollectionFactory $factoryCollection * @param Escaper $escaper * @param UrlInterface $urlBuilder * @param array $data */ public function __construct(ArticleImage $imageModel, ElementFactory $factoryElement, ElementCollectionFactory $factoryCollection, Escaper $escaper, UrlInterface $urlBuilder, $data = []) { $this->imageModel = $imageModel; parent::__construct($factoryElement, $factoryCollection, $escaper, $urlBuilder, $data); }
/** * constructor * * @param \Mageplaza\Blog\Model\Post\Image $imageModel * @param \Magento\Framework\Data\Form\Element\Factory $factoryElement * @param \Magento\Framework\Data\Form\Element\CollectionFactory $factoryCollection * @param \Magento\Framework\Escaper $escaper * @param \Magento\Framework\UrlInterface $urlBuilder * @param array $data */ public function __construct(\Mageplaza\Blog\Model\Post\Image $imageModel, \Magento\Framework\Data\Form\Element\Factory $factoryElement, \Magento\Framework\Data\Form\Element\CollectionFactory $factoryCollection, \Magento\Framework\Escaper $escaper, \Magento\Framework\UrlInterface $urlBuilder, array $data) { $this->imageModel = $imageModel; parent::__construct($factoryElement, $factoryCollection, $escaper, $urlBuilder, $data); }