You are here

function commerce_file_handler_field_license_property::_get_entity in Commerce File 7

3 calls to commerce_file_handler_field_license_property::_get_entity()
commerce_file_handler_field_license_duration::render in views/handlers/commerce_file_handler_field_license_duration.inc
Render the field.
commerce_file_handler_field_license_limit::render in views/handlers/commerce_file_handler_field_license_limit.inc
Render the field.
commerce_file_handler_field_license_property::render in views/handlers/commerce_file_handler_field_license_property.inc
Render the field.

File

views/handlers/commerce_file_handler_field_license_property.inc, line 59
Contains the license entity property field handler.

Class

commerce_file_handler_field_license_property
Field handler to provide access to non database entity properties.

Code

function _get_entity($values) {
  $entity_id = $this
    ->get_value($values, 'license_id');
  if (!empty($entity_id)) {
    return commerce_file_license_load($entity_id);
  }
}