EmptyHelpSection.php
Same filename in other branches
Namespace
Drupal\help_page_test\Plugin\HelpSectionFile
-
core/
modules/ help/ tests/ modules/ help_page_test/ src/ Plugin/ HelpSection/ EmptyHelpSection.php
View source
<?php
declare (strict_types=1);
namespace Drupal\help_page_test\Plugin\HelpSection;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\help\Plugin\HelpSection\HelpSectionPluginBase;
use Drupal\help\Attribute\HelpSection;
/**
* Provides an empty section for the help page, for testing.
*/
class EmptyHelpSection extends HelpSectionPluginBase {
/**
* {@inheritdoc}
*/
public function listTopics() {
return [];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
EmptyHelpSection | Provides an empty section for the help page, for testing. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.