HelpSection::$permission

Same name in other branches
  1. 9 core/modules/help/src/Annotation/HelpSection.php \Drupal\help\Annotation\HelpSection::permission
  2. 10 core/modules/help/src/Annotation/HelpSection.php \Drupal\help\Annotation\HelpSection::permission
  3. 11.x 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 = '';

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