Problem/Motivation

If you install the module you can't find the Configure page from the module description, you need to go from the menu to:

Administration » Configuration » Content authoring » Only One

Proposed resolution

Add the following line in the .info file

configure: onlyone.admin_settings

Read more at: Let Drupal 8 know about your module with an .info.yml file

Remaining tasks

None.

User interface changes

You will have the Configure link in the module section in the /admin/modules page

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#2 2872551-2.patch1.18 KBPavan B S
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Pavan B S created an issue. See original summary.

Pavan B S’s picture

Assigned: Pavan B S » Unassigned
Status: Active » Needs review
FileSize
1.18 KB

Applying the patch, please review.

adriancid’s picture

Thanks @Pavan B S, the next time is better if you split the patch and the issue in two, here you're trying to solve 2 thinks in one issue:

  1. configure link
  2. db() calls

The first is ok, but second will not be solved for the moment. If you see the module page, it says:

Drupal 8
The module doesn't works for multilingual sites for the moment.
Follow #2866834: List the available and not available content types to have only one node in multilingual sites

In the #2866807: Only One Drupal 8 port you can see too that this is a remaining task for the moment, I think that this will be fixed soon.

I'll edit the issue description soon because here we will solve only the configure link issue.

If you have another idea, or improve about the module feel free to create other issued, but please use the Issue Summary Template.

adriancid’s picture

Title: Replace all calls to db_(), which is deprecated and add configure link for module » Add link to configure page
Component: Code » User interface
Issue summary: View changes

  • adriancid committed dc38f24 on 8.x-1.x authored by Pavan B S
    Issue #2872551 by Pavan B S, adriancid: Add link to configure page
    
adriancid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.