public function YamlFormHelpManager::getHelp in YAML Form 8
Get help.
Parameters
string|null $id: (optional) Help id.
Return value
array|mixed A single help item or all help.
Overrides YamlFormHelpManagerInterface::getHelp
File
- src/
YamlFormHelpManager.php, line 109
Class
- YamlFormHelpManager
- Form help manager.
Namespace
Drupal\yamlformCode
public function getHelp($id = NULL) {
if ($id !== NULL) {
return isset($this->help[$id]) ? $this->help[$id] : NULL;
}
else {
return $this->help;
}
}