You are here

public function LoginCookie__1_0::controllersInfo in RESTful 7.2

Overrides \RestfulBase::controllersInfo().

Overrides Resource::controllersInfo

File

src/Plugin/resource/LoginCookie__1_0.php, line 52
Contains \Drupal\restful\Plugin\resource\LoginCookie__1_0.

Class

LoginCookie__1_0
Class LoginCookie__1_0 @package Drupal\restful\Plugin\resource

Namespace

Drupal\restful\Plugin\resource

Code

public function controllersInfo() {
  return array(
    '' => array(
      RequestInterface::METHOD_GET => 'loginAndRespondWithCookie',
    ),
  );
}