Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DataProvider.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\AdminNotification\Model\ResourceModel\System\Message\Collection\SynchronizedFactory;
10 
16 {
26  public function __construct(
27  $name,
30  SynchronizedFactory $messageCollectionFactory,
31  array $meta = [],
32  array $data = []
33  ) {
34  $this->collection = $messageCollectionFactory->create();
35  parent::__construct($name, $primaryFieldName, $requestFieldName, $meta, $data);
36  }
37 }
__construct( $name, $primaryFieldName, $requestFieldName, SynchronizedFactory $messageCollectionFactory, array $meta=[], array $data=[])