Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 303486

[META] Convert hook_help() module overview text to topics

$
0
0

Problem/Motivation

As part of #3031642: Deprecate hook_help() and combine with Topics, we need to convert the module overview help for each core module, located in the hook_help() implementation, into one or more help topics. This meta issue collects the child issues (one per core module) and explains the task.

Note: Committing the patches from the child issues will be postponed until
#2920309: Add experimental module for Help Topics
is fixed. But if it hasn't been fixed yet, you can still get started on this issue! To do so:

  1. Make a local development environment with Drupal Core 8.8.x checked out.
  2. Apply the patch from #2920309: Add experimental module for Help Topics and commit it in your local development environment.
  3. Make your patch for the child issue from that starting point.

Also, attached to this issue there is a sample help topic Twig file that you can use as a template when making your patch. (You will need to change the file extension to .html.twig and put it in the correct directory -- see child issue template for details.)

Proposed resolution

  1. Make a child issue for each core module.
  2. Complete the child issue for each core module.

Make a child issue for each core module

To make an issue (if there isn't one yet for a module),

  1. Use this link to create a new issue.
  2. Change the Parent issue field (below the Issue summary) to [META] Convert hook_help() module overview text to topics (3041924)
  3. Replace "THISMODULE" with the machine name of the module in the title and (4 place) in the Issue summary.
  4. Assigned: (assign the new issue to yourself if you are ready to work on it)

Then save the issue, and add a link to the list in this issue's summary. When adding the link to the summary, it is also helpful (for people following this parent issue) to put a short note in the Comment field saying something like "Adding issue for the THISMODULE module".

Using the above link should have the same effect as clicking the "Add child issue" link in the sidebar of this issue and filling in the following properties:

  • Title: Convert THISMODULE module hook_help() to topic(s)
  • Category: Task
  • Status: Postponed
  • Component: help.module
  • Body (issue summary): copy from the template issue #3041928: ISSUE TEMPLATE -- Do not edit -- template for making child issues -- open up that link, and scroll down to find the area where you could edit the issue summary. Copy the summary from there, and paste it into the new issue you are creating.
  • Issue tags: Novice
  • If you are working on this issue at an event, add the tag for that too. Example: Seattle2019 is the tag for DrupalCon Seattle 2019
  • Assigned: (assign the new issue to yourself if you are ready to work on it)

Modules to be converted (add issue links here)

Remaining tasks

  1. This issue cannot be marked Fixed until all the child issues (one per module) are Fixed.
  2. Before we mark this as Fixed, we also need to review the list of modules and make sure it is current -- new modules are added, and old modules are deleted, from Drupal Core from time to time. So, we need to make sure that all modules have been converted, and create new child issues (and fix them) if modules are missing from the list.

User interface changes

Help topics will be added to cover tasks currently covered in modules' hook_help() implementations.

API changes

None.

Data model changes

None.

Release notes snippet

None.


Viewing all articles
Browse latest Browse all 303486

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>