function anonymous_publishing_cl_help in Anonymous Publishing 8
Implements hook_help().
File
- modules/
anonymous_publishing_cl/ anonymous_publishing_cl.module, line 22 - Main hooks for anonymous publishing cl module.
Code
function anonymous_publishing_cl_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.anonymous_publishing_cl':
$output = t('<p>This submodule of <strong>Anonymous Publishing</strong> lets users publish content without first registering an account at the site, but in a manner that affords some protection against spam.</p><p>Just enabling the module does nothing. You also need to enable anonymous publishing for at least one node type. If you want visitors to be able to create content without registering, you also need to grant the the anonymous user role the permission to “Create new content” for at least one node type . To do this, go to <a title="Set permissions for anonymous." <a href="@url">Administration » People » Permissions</a> for the node module.</p>', array(
'@url' => Url::fromRoute('user.admin_permissions')
->toString(),
));
$output .= _anonymous_publishing_ah_hint();
return $output;
}
}