public ViewsData::getAll()
Gets all table data.
Return value
array $data An array of table data.
See also
https://www.drupal.org/node/2723553
File
- core/modules/views/src/ViewsData.php, line 119
Class
- ViewsData
- Class to manage and lazy load cached views data.
Namespace
Drupal\views
Code
1 2 3 4 5 6 7 8 9 10 11 | public function getAll() { if (! $this ->fullyLoaded) { $this ->allStorage = $this ->getData(); } // Set storage from allStorage outside of the fullyLoaded check to prevent // cache calls on requests that have requested all data to get a single // tables data. Make sure $this->storage is populated in this case. $this ->storage = $this ->allStorage; return $this ->allStorage; } |
Please login to continue.