You are here

function CurrencyAmountViewsHandlerField::set_definition in Currency 7.2

Overrides parent::set_definition().

Overrides views_object::set_definition

File

currency/includes/CurrencyAmountViewsHandlerField.inc, line 38
Contains class CurrencyAmountViewsHandlerField.

Class

CurrencyAmountViewsHandlerField
A Views field handler for currency amounts.

Code

function set_definition($definition) {
  $this->definition = array_merge($this->definition, $definition);
  if (isset($definition['field'])) {
    $this->real_field = $definition['field'];
  }
}