EmptyHelpSection.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\help_page_test\Plugin\HelpSectionFile
core/modules/help/tests/modules/help_page_test/src/Plugin/HelpSection/EmptyHelpSection.phpView source
<?php
namespace Drupal\help_page_test\Plugin\HelpSection;
use Drupal\help\Plugin\HelpSection\HelpSectionPluginBase;
/**
* Provides an empty section for the help page, for testing.
*
* @HelpSection(
* id = "empty_section",
* title = @Translation("Empty section"),
* description = @Translation("This description should appear."),
* )
*/
class EmptyHelpSection extends HelpSectionPluginBase {
/**
* {@inheritdoc}
*/
public function listTopics() {
return [];
}
}
Classes
Name | Description |
---|---|
EmptyHelpSection | Provides an empty section for the help page, for testing. |