PermissionHandler::$yamlDiscovery

Same name and namespace in other branches
  1. 8.9.x core/modules/user/src/PermissionHandler.php \Drupal\user\PermissionHandler::yamlDiscovery
  2. 10 core/modules/user/src/PermissionHandler.php \Drupal\user\PermissionHandler::yamlDiscovery
  3. 11.x core/modules/user/src/PermissionHandler.php \Drupal\user\PermissionHandler::yamlDiscovery

The YAML discovery class to find all .permissions.yml files.

Type: \Drupal\Core\Discovery\YamlDiscovery

File

core/modules/user/src/PermissionHandler.php, line 68

Class

PermissionHandler
Provides the available permissions based on yml files.

Namespace

Drupal\user

Code

protected $yamlDiscovery;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.