protected function D3ViewsDataMapping::map1DN in d3.js 7
File
- modules/
d3_views/ includes/ D3ViewsDataMapping.inc, line 349
Class
Code
protected function map1DN($mapping, $row, &$output, $index) {
// Only populate once.
if (empty($output)) {
foreach ($mapping as $index => $value) {
if (!empty($value) && $value != '__none') {
$output[$index] = $this->plugin->view->field[$value]
->label();
}
}
}
}