Problem/Motivation
Steps to reproduce
After installing the HTTP Response Headers module, I have tried to add cache control header. On saving the header it throws an error that says Error: Call to undefined method Drupal\Core\Config\Entity\ConfigEntityStorage::accessCheck()
| Comment | File | Size | Author |
|---|---|---|---|
| remove_access_check.patch | 640 bytes | krishnaveniuppara |
Issue fork http_response_headers-3375197
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
avpadernoComment #3
avpadernoActually, the object returned from
getQuery()has theaccessCheck()method. The correct code is the following one.Comment #6
keshavv commentedThank you @apaderno
I have created the MR for the same.
Please Review.
Comment #7
avpadernoThe MR correctly changes the code.
Comment #9
avpaderno