Problem/Motivation

The toolbar link is hardcoded as "Moderation Dashboard". I would like to be able to modify that easily.

Proposed resolution

The menu link could get its title from the View page to which it links.

Remaining tasks

Review

User interface changes

Toolbar link title will match the title of the Moderation Dashboard view.

API changes

None

Data model changes

None

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

danflanagan8 created an issue. See original summary.

danflanagan8’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

Here's a patch!

Nice work on the 2.0.x branch, by the way. I really like the move to relying more on core features.

robcarr’s picture

The patch works - thank you.

While this is functional, should the admin toolbar take the menu text from the View's menu:tab value, rather than the View page title? That seems a little more logical.

smustgrave made their first commit to this issue’s fork.

smustgrave’s picture

Status: Needs review » Fixed

I'm inclined to agree with @danflanagan8. Someone may want their title to be my-name dashboard but still keep the tab as Moderation Dashboard. Thanks for the patch!

  • smustgrave committed 25c5830 on 2.0.x
    Issue #3245165: Make toolbar link title configurable
    
smustgrave’s picture

Status: Fixed » Closed (fixed)