public function D3ViewsLibraryInfoController::getDataKey in d3.js 7
1 call to D3ViewsLibraryInfoController::getDataKey()
- D3ViewsLibraryInfoController::isDataKey in modules/
d3_views/ includes/ D3ViewsLibraryInfoController.inc
File
- modules/
d3_views/ includes/ D3ViewsLibraryInfoController.inc, line 9
Class
Code
public function getDataKey() {
if (!($library = $this
->value())) {
return NULL;
}
$info = $library['views']['fields'];
return !empty($info['_info']['data_key']) ? $info['_info']['data_key'] : 'rows';
}