public function TaxonomyPermissions::permissions in Drupal 9
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/TaxonomyPermissions.php \Drupal\taxonomy\TaxonomyPermissions::permissions()
Get taxonomy permissions.
Return value
array Permissions array.
1 string reference to 'TaxonomyPermissions::permissions'
- taxonomy.permissions.yml in core/
modules/ taxonomy/ taxonomy.permissions.yml - core/modules/taxonomy/taxonomy.permissions.yml
File
- core/
modules/ taxonomy/ src/ TaxonomyPermissions.php, line 51
Class
- TaxonomyPermissions
- Provides dynamic permissions of the taxonomy module.
Namespace
Drupal\taxonomyCode
public function permissions() {
return $this
->generatePermissions(Vocabulary::loadMultiple(), [
$this,
'buildPermissions',
]);
}