3 namespace Drupal\help\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines a Plugin annotation object for help page section plugins.
10 * Plugin Namespace: Plugin\HelpSection
12 * For a working example, see \Drupal\help\Plugin\HelpSection\HookHelpSection.
14 * @see \Drupal\help\HelpSectionPluginInterface
15 * @see \Drupal\help\Plugin\HelpSection\HelpSectionPluginBase
16 * @see \Drupal\help\HelpSectionManager
17 * @see hook_help_section_info_alter()
22 class HelpSection extends Plugin {
32 * The text to use as the title of the help page section.
34 * @var \Drupal\Core\Annotation\Translation
36 * @ingroup plugin_translatable
41 * The description of the help page section.
43 * @var \Drupal\Core\Annotation\Translation
45 * @ingroup plugin_translatable
50 * The (optional) permission needed to view the help section.
52 * Only set if this section needs its own permission, beyond the generic
53 * 'access administration pages' permission needed to see the /admin/help
58 public $permission = '';