You are here

RestfulTestTranslatableEntityResource__1_0.class.php in RESTful 7

Contains RestfulTestTranslatableEntityResource__1_0.

File

tests/modules/restful_test/plugins/restful/restful_test_translatable_entity/1.0/RestfulTestTranslatableEntityResource__1_0.class.php
View source
<?php

/**
 * @file
 * Contains RestfulTestTranslatableEntityResource__1_0.
 */
class RestfulTestTranslatableEntityResource__1_0 extends RestfulTestMainResource {

  /**
   * Overrides RestfulTestEntityTestsResource::publicFieldsInfo().
   */
  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;
  }

}

Classes

Namesort descending Description
RestfulTestTranslatableEntityResource__1_0 @file Contains RestfulTestTranslatableEntityResource__1_0.