HelpSection::$weight

Same name in other branches
  1. 8.9.x core/modules/help/src/Annotation/HelpSection.php \Drupal\help\Annotation\HelpSection::weight
  2. 10 core/modules/help/src/Annotation/HelpSection.php \Drupal\help\Annotation\HelpSection::weight
  3. 11.x core/modules/help/src/Annotation/HelpSection.php \Drupal\help\Annotation\HelpSection::weight

An optional weight for the help section.

The sections will be ordered by this weight on the help page.

Type: int

File

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

Class

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

Namespace

Drupal\help\Annotation

Code

public $weight = 0;

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