Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291341

ViewsStorageController::postSave should be protected

$
0
0

It currently is public, although it overrides ConfigStorageController::postSave which is protected. I didn't know you could do that, but I don't think we should.

Specific instructions

  1. Open the file core/modules/views/lib/Drupal/views/ViewsStorageController.php
  2. Go to line 47
  3. Change "public" to "protected"
  4. Profit!

Viewing all articles
Browse latest Browse all 291341

Trending Articles