Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
AccessibleInterface is part of typed data, but it does not require typed data in any way. However, in its current form it is usable for *any* object that is accessible and wants to control access to itself. Let's move it from \Drupal\TypedData to \Drupal\Access
AccessibleInterface should have nothing to do with TypedData. That was a bizarre decision.
tim.plunkett in 1839516#95.
Comment | File | Size | Author |
---|---|---|---|
#4 | drupal_2095233_4.patch | 5.95 KB | Xano |
#1 | drupal_2095233_1.patch | 4.88 KB | Xano |
Comments
Comment #1
XanoComment #2
XanoComment #4
XanoIf #2095125: Use access constants in every access control context gets in, we can make AccessibleInterface implement \Drupal\Core\Access\AccessInterface and AccessibleInterface::access() can return those constants rather than simple booleans.
Comment #5
XanoAs per my discussion with tim.plunkett, this will be done in #2095125: Use access constants in every access control context.