/** * Returns the state of the content. * * @return int * @codeCoverageIgnore */ public function getState() { return null !== $this->getDraft() ? $this->getDraft()->getState() : parent::getState(); }