/**
  * Overrides \RestfulEntityBaseNode::publicFieldsInfo().
  */
 public function publicFieldsInfo()
 {
     $public_fields = parent::publicFieldsInfo();
     $public_fields['location'] = array('property' => 'field_location', 'process_callbacks' => array(array($this, 'processLocation')));
     $public_fields['user'] = array('property' => 'author', 'resource' => array('user' => array('name' => 'users')));
     return $public_fields;
 }
 /**
  * Overrides \RestfulEntityBaseNode::publicFieldsInfo().
  */
 public function publicFieldsInfo()
 {
     $public_fields = parent::publicFieldsInfo();
     $public_fields['logo'] = array('property' => 'field_company_logo', 'image_styles' => array('thumbnail', 'medium', 'large'), 'process_callbacks  ' => array(array($this, 'imageProcess')));
     return $public_fields;
 }