interface ContentSyncHelpManagerInterface in Content Synchronization 8.2
Same name and namespace in other branches
- 8 src/ContentSyncHelpManagerInterface.php \Drupal\content_sync\ContentSyncHelpManagerInterface
- 3.0.x src/ContentSyncHelpManagerInterface.php \Drupal\content_sync\ContentSyncHelpManagerInterface
Defines an interface for help classes.
Hierarchy
- interface \Drupal\content_sync\ContentSyncHelpManagerInterface
Expanded class hierarchy of ContentSyncHelpManagerInterface
All classes that implement ContentSyncHelpManagerInterface
1 file declares its use of ContentSyncHelpManagerInterface
- ContentHelpController.php in src/
Controller/ ContentHelpController.php
File
- src/
ContentSyncHelpManagerInterface.php, line 10
Namespace
Drupal\content_syncView source
interface ContentSyncHelpManagerInterface {
/**
* Get help.
*
* @param string|null $id
* (optional) Help id.
*
* @return array|mixed
* A single help item or all help.
*/
public function getHelp($id = NULL);
/**
* Build help for specific route.
*
* @param string $route_name
* The route for which to find help.
* @param \Drupal\Core\Routing\RouteMatchInterface $route_match
* The route match object from which to find help.
*
* @return array
* An render array containing help for specific route.
*/
public function buildHelp($route_name, RouteMatchInterface $route_match);
/**
* Build help (aka 'How can we help you?') menu (dropbutton) element.
*
* @return array
* An render array containing about (aka 'How can we help you?') operations
* (dropbutton) element.
*/
public function buildHelpMenu();
/**
* Build the main help page for the Content Sync module.
*
* @return array
* An render array containing help for the Content Sync module.
*/
public function buildIndex();
/**
* Build the about section.
*
* @return array
* An render array containing the about section.
*/
public function buildAbout();
/**
* Build the uses section.
*
* @param bool $docs
* Set to TRUE to build exportable HTML documentation.
*
* @return array
* An render array containing the uses section.
*/
public function buildUses($docs = FALSE);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContentSyncHelpManagerInterface:: |
public | function | Build the about section. | 1 |
ContentSyncHelpManagerInterface:: |
public | function | Build help for specific route. | 1 |
ContentSyncHelpManagerInterface:: |
public | function | Build help (aka 'How can we help you?') menu (dropbutton) element. | 1 |
ContentSyncHelpManagerInterface:: |
public | function | Build the main help page for the Content Sync module. | 1 |
ContentSyncHelpManagerInterface:: |
public | function | Build the uses section. | 1 |
ContentSyncHelpManagerInterface:: |
public | function | Get help. | 1 |