You are here

public function RestfulTestTranslatableEntityResource__1_0::publicFieldsInfo in RESTful 7

Overrides RestfulTestEntityTestsResource::publicFieldsInfo().

Overrides RestfulEntityBase::publicFieldsInfo

File

tests/modules/restful_test/plugins/restful/restful_test_translatable_entity/1.0/RestfulTestTranslatableEntityResource__1_0.class.php, line 13
Contains RestfulTestTranslatableEntityResource__1_0.

Class

RestfulTestTranslatableEntityResource__1_0
@file Contains RestfulTestTranslatableEntityResource__1_0.

Code

public function publicFieldsInfo() {
  $public_fields = parent::publicFieldsInfo();
  $public_fields['text_single'] = array(
    'property' => 'text_single',
  );
  $public_fields['text_multiple'] = array(
    'property' => 'text_multiple',
  );
  return $public_fields;
}