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

Convert user_access to an injectable service

$
0
0

Problem/Motivation

Following on from http://drupal.org/node/1945390#comment-7247250 with further detail in http://drupal.org/node/1945390#comment-7215306, we ideally want user_access to be an injectable service.

Proposed resolution

Convert user_access into a service that can be injected wherever needed.

Remaining tasks

  • Experimental conversion
  • Initial sanity check
  • Finalize conversion
  • Convert all instances in code to use the new service, including test conversion
  • Reviews (tests should be covered by existing tests using the new service)
  • Documentation updates

User interface changes

None

API changes

All instances of user_access would be changed to the new service.

#1945390: Convert book_admin_edit to a new-style FormInterface implementation


Viewing all articles
Browse latest Browse all 292920

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>