Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / help / tests / modules / help_page_test / src / Plugin / HelpSection / EmptyHelpSection.php
1 <?php
2
3 namespace Drupal\help_page_test\Plugin\HelpSection;
4
5 use Drupal\help\Plugin\HelpSection\HelpSectionPluginBase;
6
7 /**
8  * Provides an empty section for the help page, for testing.
9  *
10  * @HelpSection(
11  *   id = "empty_section",
12  *   title = @Translation("Empty section"),
13  *   description = @Translation("This description should appear."),
14  * )
15  */
16 class EmptyHelpSection extends HelpSectionPluginBase {
17
18   /**
19    * {@inheritdoc}
20    */
21   public function listTopics() {
22     return [];
23   }
24
25 }