public function Agent::get in DRD Agent 4.0.x
Same name and namespace in other branches
- 8.3 src/Controller/Agent.php \Drupal\drd_agent\Controller\Agent::get()
Route callback to execute an action and return their result.
Return value
\Symfony\Component\HttpFoundation\Response The response to DRD.
Throws
\Exception
1 string reference to 'Agent::get'
File
- src/
Controller/ Agent.php, line 67
Class
- Agent
- Class Default.
Namespace
Drupal\drd_agent\ControllerCode
public function get() : Response {
return $this
->deliver(ActionBase::create($this->container)
->run((bool) $this->state
->get('drd_agent.debug_mode', FALSE)));
}