public function getContentType() { return $this->hasOne(CmsContentType::className(), ['code' => 'content_type']); }