Resolve #3373487 "Implement hookhelp"
4 open threads
Closes #3373487
Merge request reports
Activity
14 14 function send_emails_help($route_name, RouteMatchInterface $route_match) { 15 15 switch ($route_name) { 16 16 case 'help.page.send_emails': 17 $output = ''; 18 $output .= '<h3>' . t('About') . '</h3>'; 19 $output .= '<p>' . t('Send Emails, a light-weight module that provides a UI to create & update emails and a service to send the emails.') . '</p>'; 20 return $output; 17 $output = ''; 18 $output .= '<h3>' . t('About') . '</h3>'; 19 $output .= '<p>' . t('Send Emails, a light-weight module that provides a UI to create & update emails and a service to send the emails.') . '</p>'; 20 $output .= '<h4>' .t('Here how I use it in a custom module:') . '</h4>'; 21 $output .= '<ul>'.'<li>'.t('Install the module using the normal process <a href="https://www.drupal.org/docs/extending-drupal/installing-modules#s-step-2-enable-the-module">(see documentation)</a>').'</li>'; 22 $output .= '<li>'.t('Create a new email.').'</li>'; 23 $output .= '<li>'.t('Go to Configuation > Send Emails Configuation: `/admin/config/send_emails/emails#edit-emails-definitions`').'</li>'; changed this line in version 3 of the diff
17 $output = ''; 18 $output .= '<h3>' . t('About') . '</h3>'; 19 $output .= '<p>' . t('Send Emails, a light-weight module that provides a UI to create & update emails and a service to send the emails.') . '</p>'; 20 return $output; 17 $output = ''; 18 $output .= '<h3>' . t('About') . '</h3>'; 19 $output .= '<p>' . t('Send Emails, a light-weight module that provides a UI to create & update emails and a service to send the emails.') . '</p>'; 20 $output .= '<h4>' .t('Here how I use it in a custom module:') . '</h4>'; 21 $output .= '<ul>'.'<li>'.t('Install the module using the normal process <a href="https://www.drupal.org/docs/extending-drupal/installing-modules#s-step-2-enable-the-module">(see documentation)</a>').'</li>'; 22 $output .= '<li>'.t('Create a new email.').'</li>'; 23 $output .= '<li>'.t('Go to Configuation > Send Emails Configuation: `/admin/config/send_emails/emails#edit-emails-definitions`').'</li>'; 24 $output .= '<li>'.t('Define a new email using: 25 director_private_notes | Send an email when a node "director_agendas" is created or updated and the "field_send_emails_notify" checkbox is checked').'</li>'; 26 $output .= '<li>'.t('Click "Save"').'</li>'; 27 $output .= '<li>'.t('The page should now have a new email that you can edit').'</li>'; 28 $output .= '<li>'.t('Add the below code to a custom module').'</li>'; changed this line in version 3 of the diff
18 $output .= '<h3>' . t('About') . '</h3>'; 19 $output .= '<p>' . t('Send Emails, a light-weight module that provides a UI to create & update emails and a service to send the emails.') . '</p>'; 20 return $output; 17 $output = ''; 18 $output .= '<h3>' . t('About') . '</h3>'; 19 $output .= '<p>' . t('Send Emails, a light-weight module that provides a UI to create & update emails and a service to send the emails.') . '</p>'; 20 $output .= '<h4>' .t('Here how I use it in a custom module:') . '</h4>'; 21 $output .= '<ul>'.'<li>'.t('Install the module using the normal process <a href="https://www.drupal.org/docs/extending-drupal/installing-modules#s-step-2-enable-the-module">(see documentation)</a>').'</li>'; 22 $output .= '<li>'.t('Create a new email.').'</li>'; 23 $output .= '<li>'.t('Go to Configuation > Send Emails Configuation: `/admin/config/send_emails/emails#edit-emails-definitions`').'</li>'; 24 $output .= '<li>'.t('Define a new email using: 25 director_private_notes | Send an email when a node "director_agendas" is created or updated and the "field_send_emails_notify" checkbox is checked').'</li>'; 26 $output .= '<li>'.t('Click "Save"').'</li>'; 27 $output .= '<li>'.t('The page should now have a new email that you can edit').'</li>'; 28 $output .= '<li>'.t('Add the below code to a custom module').'</li>'; 29 $output .= '<li>'.t('Flush the caches').'</li>'.'</ul>'; changed this line in version 3 of the diff
19 $output .= '<p>' . t('Send Emails, a light-weight module that provides a UI to create & update emails and a service to send the emails.') . '</p>'; 20 return $output; 17 $output = ''; 18 $output .= '<h3>' . t('About') . '</h3>'; 19 $output .= '<p>' . t('Send Emails, a light-weight module that provides a UI to create & update emails and a service to send the emails.') . '</p>'; 20 $output .= '<h4>' .t('Here how I use it in a custom module:') . '</h4>'; 21 $output .= '<ul>'.'<li>'.t('Install the module using the normal process <a href="https://www.drupal.org/docs/extending-drupal/installing-modules#s-step-2-enable-the-module">(see documentation)</a>').'</li>'; 22 $output .= '<li>'.t('Create a new email.').'</li>'; 23 $output .= '<li>'.t('Go to Configuation > Send Emails Configuation: `/admin/config/send_emails/emails#edit-emails-definitions`').'</li>'; 24 $output .= '<li>'.t('Define a new email using: 25 director_private_notes | Send an email when a node "director_agendas" is created or updated and the "field_send_emails_notify" checkbox is checked').'</li>'; 26 $output .= '<li>'.t('Click "Save"').'</li>'; 27 $output .= '<li>'.t('The page should now have a new email that you can edit').'</li>'; 28 $output .= '<li>'.t('Add the below code to a custom module').'</li>'; 29 $output .= '<li>'.t('Flush the caches').'</li>'.'</ul>'; 30 $output .= '<p>' .t('For infomation about project visit the project page <a href="https://www.drupal.org/project/send_emails">Send emails</a>'). '</p>'; changed this line in version 3 of the diff
assigned to @chrishappy
Please register or sign in to reply