You are here

public static function RestfulTestArticlesResource__1_4::controllersInfo in RESTful 7

Overrides \RestfulEntityBase::controllersInfo().

Overrides RestfulEntityBase::controllersInfo

File

tests/modules/restful_test/plugins/restful/node/test_articles/1.4/RestfulTestArticlesResource__1_4.class.php, line 13
Contains RestfulTestArticlesResource__1_4.

Class

RestfulTestArticlesResource__1_4
@file Contains RestfulTestArticlesResource__1_4.

Code

public static function controllersInfo() {
  return array(
    '' => array(
      \RestfulInterface::HEAD => 'getList',
    ),
    '^(\\d+,)*\\d+$' => array(
      \RestfulInterface::PATCH => 'patchEntity',
      \RestfulInterface::DELETE => 'deleteEntity',
    ),
  );
}