commerce_cardonfile_handler_field_card_label.inc in Commerce Card on File 7.2
File
includes/views/handlers/commerce_cardonfile_handler_field_card_label.incView source
<?php
/**
* Field handler to present the card label.
*/
class commerce_cardonfile_handler_field_card_label extends views_handler_field_entity {
function get_value($values, $field = NULL) {
if (!isset($this->entities[$this->view->row_index])) {
return '';
}
$card = $this->entities[$this->view->row_index];
return $card
->label();
}
}
Classes
Name![]() |
Description |
---|---|
commerce_cardonfile_handler_field_card_label | Field handler to present the card label. |