Drupal::accessManager

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');
}
doc_Drupal
2016-10-29 09:02:42
Comments
Leave a Comment

Please login to continue.