code: public function actions()
      {
          $actions = [];
  
          if ($this->type === 'list') {
              if (isset($this->query)) {
                  $actions['sort'] = [
                      'class' => SortableGridAction::className(),
                      'modelName' => $this->query->modelClass
                  ];
              }
  
              $actions['index'] = [
                  'class' => IndexAction::className()
              ];
  
              $actions['sub-list'] = [
                  'class' => SubListAction::className()
              ];
  
              $actions['create'] = [
                  'class' => CreateAction::className()
              ];
  
              $actions['update'] = [
                  'class' => UpdateAction::className()
              ];
  
              $actions['delete'] = [
                  'class' => DeleteAction::className()
              ];
  
              $actions['delete-sub-list'] = [
                  'class' => DeleteSubListAction::className()
              ];
  
              $actions['publish'] = [
                  'class' => PublishAction::className()
              ];
  
              $actions['up-down'] = [
                  'class' => UpDownAction::className()
              ];
  
              if (isset($this->query)) {
                  $actions['editable'] = [
                      'class' => EditableAction::className(),
                      'modelClass' => $this->query->modelClass
                  ];
              }
  
              if (isset($this->bulkActions['bulk-delete'])) {
                  $actions['bulk-delete'] = [
                      'class' => BulkDeleteAction::className()
                  ];
              }
  
              if (isset($this->bulkActions['bulk-publish'])) {
                  $actions['bulk-publish'] = [
                      'class' => BulkPublishAction::className()
                  ];
              }
  
              if (isset($this->bulkActions['bulk-unpublish'])) {
                  $actions['bulk-unpublish'] = [
                      'class' => BulkUnpublishAction::className()
                  ];
              }
          }
  
          if ($this->type === 'page') {
              $actions['page'] = [
                  'class' => PageAction::className()
              ];
          }
  
          if ($this->type === 'settings') {
              $actions['settings'] = [
                  'class' => SettingsAction::className()
              ];
          }
  
          return $actions;
      }
docs: Actions
  @return array