/**
  * @return array
  */
 public function behaviors()
 {
     $behaviors = parent::behaviors();
     if ($this->module->enablePageCache) {
         $behaviors['content-page-cache'] = ['class' => 'yii\\filters\\PageCache', 'duration' => $this->module->pageCacheTime, 'variations' => array_merge($this->module->additionalPageCacheVariations, [Yii::$app->language, Yii::$app->user->isGuest, Yii::$app->request->isAjax, Yii::$app->request->pathInfo]), 'dependency' => new TagDependency(['tags' => [ContentModule::CACHE_TAG, ContentModule::PAGE_CACHE_TAG]])];
     }
     return $behaviors;
 }
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), ['verbs' => ['class' => VerbFilter::className(), 'actions' => ['delete' => ['post']]]]);
 }