Crud\Action\EditAction::_get PHP Method

_get() protected method

HTTP GET handler
protected _get ( string | null $id = null ) : void
$id string | null Record id
return void
    protected function _get($id = null)
    {
        $subject = $this->_subject();
        $subject->set(['id' => $id]);
        $subject->set(['entity' => $this->_findRecord($id, $subject)]);
        $this->_trigger('beforeRender', $subject);
    }