2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
* Enables users to submit stories, articles or similar content.
*/
/**
* Implementation of hook_help().
*/
functionstory_help($section){
switch($section){
case'admin/help#story':
$output='<p>'.t('The story module is used to create a content post type called <em>stories.</em> Stories are articles in their simplest form: they have a title, a teaser and a body. Stories are typically used to post news articles or as a group blog. ').'</p>';
$output.='<p>'.t('The story administration interface allows for complex configuration. It provides a submission form, workflow, default view permission, default edit permission, permissions for permission, and attachments. Trackbacks can also be enabled.').'</p>';
$output.=t('<p>You can</p>
<ul>
<li>post a story at <a href="%node-add-story">create content >> story</a>.</li>
<li>configure story at <a href="%admin-settings-content-types-story">administer >> settings >> content types >> configure story</a>.</li>
$output.='<p>'.t('For more information please read the configuration and customization handbook <a href="%story">Story page</a>.',array('%story'=>'http://drupal.org/handbook/modules/story/')).'</p>';
return$output;
case'admin/modules#description':
returnt('Allows users to submit stories, articles or similar content.');
case'node/add#story':
returnt('Stories are articles in their simplest form: they have a title, a teaser and a body, but can be extended by other modules. The teaser is part of the body too. Stories may be used as a personal blog or for news articles.');