Updated: Comment #1

Problem/Motivation

This is a sub-issue of #2062715: [META] Many UI/UX issues with custom blocks. to address confusion caused by inconsistent use of the admin UI.

  • The path for editing custom blocks is incorrect in hook_admin_paths(), which is very disorienting when editing one from the block admin UI suddenly dumps you into a non-administrative form.
  • There is no configuration link for the module defined in its .info.

Proposed resolution

  • Add a configuration path for admin/structure/custom-blocks.
  • Correct the hook_admin_paths() link.

Remaining tasks

Needs review.

User interface changes

  • There is now a configuration option for the custom blocks module.
  • Editing a custom block no longer dumps you back in the non-admin theme.

API changes

N/A

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm’s picture

FileSize
80.84 KB
25.29 KB

Now there's a configure link:
configure.png
And I confirmed it goes to the right place.

Plus we now edit custom blocks in the admin theme, yay:

now_in_seven_and_overlay.png

xjm’s picture

Issue summary: View changes

Updated issue summary.

larowlan’s picture

Status: Needs review » Reviewed & tested by the community

Good catch!
The /edit was removed during the cycle of the original patch but obviously missed.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

larowlan’s picture

Brillo!

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Updated issue summary.