public static Drupal::accessManager()
Returns the access manager service.
Return value
\Drupal\Core\Access\AccessManagerInterface The access manager service.
File
- core/lib/Drupal.php, line 700
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function accessManager() { return static::getContainer()->get('access_manager'); }
Please login to continue.