/** * Override safe attributes to include translation attributes * @return array */ public function safeAttributes() { $t = new PageTranslation(); return ArrayHelper::merge(parent::safeAttributes(), $t->safeAttributes()); }