You are here

public function RestfulTestMainResource__1_3::publicFieldsInfo in RESTful 7

Overrides RestfulTestEntityTestsResource::publicFieldsInfo().

Overrides RestfulEntityBase::publicFieldsInfo

File

tests/modules/restful_test/plugins/restful/entity_test/main/1.3/RestfulTestMainResource__1_3.class.php, line 13
Contains RestfulTestMainResource__1_3.

Class

RestfulTestMainResource__1_3
@file Contains RestfulTestMainResource__1_3.

Code

public function publicFieldsInfo() {
  $public_fields = parent::publicFieldsInfo();
  $public_fields['callback'] = array(
    'callback' => array(
      $this,
      'invalidCallback',
    ),
  );
  return $public_fields;
}