public function ContentSyncHelpManager::getHelp in Content Synchronization 8.2
Same name and namespace in other branches
- 8 src/ContentSyncHelpManager.php \Drupal\content_sync\ContentSyncHelpManager::getHelp()
- 3.0.x src/ContentSyncHelpManager.php \Drupal\content_sync\ContentSyncHelpManager::getHelp()
Get help.
Parameters
string|null $id: (optional) Help id.
Return value
array|mixed A single help item or all help.
Overrides ContentSyncHelpManagerInterface::getHelp
File
- src/
ContentSyncHelpManager.php, line 100
Class
- ContentSyncHelpManager
- Content Sync help manager.
Namespace
Drupal\content_syncCode
public function getHelp($id = NULL) {
if ($id !== NULL) {
return isset($this->help[$id]) ? $this->help[$id] : NULL;
}
else {
return $this->help;
}
}