protected function CommerceFileLicenseEntity::_get_field_value in Commerce File 7
Get field value
3 calls to CommerceFileLicenseEntity::_get_field_value()
- CommerceFileLicenseEntity::get_line_item_ids in includes/
commerce_file_license.entity.inc - Line item ids
- CommerceFileLicenseEntity::unlink_line_item in includes/
commerce_file_license.entity.inc - Remove a line item
- CommerceFileLicenseEntity::_add_field_value in includes/
commerce_file_license.entity.inc - Add field value
File
- includes/
commerce_file_license.entity.inc, line 478 - Provides a base class for CommerceFileLicenseEntity.
Class
- CommerceFileLicenseEntity
- A Commerce File License entity class.
Code
protected function _get_field_value($field_name, $langcode = NULL) {
$field_items = field_get_items($this->entityType, $this, $field_name, $langcode);
return $field_items !== FALSE ? $field_items : NULL;
}