/** * @inheritdoc */ public function behaviors() { return ArrayHelper::merge(parent::behaviors(), ['model' => ['class' => ContextModelControlBehavior::className(), 'contexts' => $this->contexts]]); }