Problem/Motivation
The first parameter for SystemAdminMenuBlockAccessCheck::access() is described as The cron key. but that is not the correct description for \Drupal\Core\Routing\RouteMatchInterface $route_match.
Proposed resolution
Change the description to The route match object to be checked. which is the same description used in CustomAccessCheck::access().
Issue fork drupal-3564926
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:
- 3564926-fix-the-documentation
changes, plain diff MR !14177
Comments
Comment #3
avpadernoComment #4
smustgrave commentedNice find!
Comment #5
quietone commentedComment #8
quietone commentedThanks for improving the docs!
Committed to 11.x and cherry picked to 11.3.x.