Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Listing.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Ui\Component;
7 
9 
15 {
16  const NAME = 'listing';
17 
21  protected $columns = [];
22 
28  public function getComponentName()
29  {
30  return static::NAME;
31  }
32 
36  public function getDataSourceData()
37  {
38  return ['data' => $this->getContext()->getDataProvider()->getData()];
39  }
40 }