The params are available in the state. You should probably use `$this->getState('params')` here instead.