You are here

public property HelpSection::$permission in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/help/src/Annotation/HelpSection.php \Drupal\help\Annotation\HelpSection::permission

The (optional) permission needed to view the help section.

Only set if this section needs its own permission, beyond the generic 'access administration pages' permission needed to see the /admin/help page itself.

Type: string

File

core/modules/help/src/Annotation/HelpSection.php, line 58

Class

HelpSection
Defines a Plugin annotation object for help page section plugins.

Namespace

Drupal\help\Annotation

Code

public $permission = '';