You are here

public function D3ViewsLibraryInfoProcessor::postProcessMeta in d3.js 7

File

modules/d3_views/includes/D3ViewsLibraryInfoProcessor.inc, line 20

Class

D3ViewsLibraryInfoProcessor
D3 Views custom Library info processor.

Code

public function postProcessMeta(&$values) {
  if (!empty($values['form_element'])) {
    $values['form_element'] = $this
      ->hash($values['form_element']);
  }

  // TODO: Add functionality for the rows data type.
  if (!isset($values['cardinality'])) {
    $values['cardinality'] = 1;
  }
}