Comments

Status: Needs review » Needs work

The last submitted patch, tcmb.patch, failed testing.

kartagis’s picture

Issue summary: View changes
kartagis’s picture

StatusFileSize
new5.45 KB

Properly indented patch attached.

kartagis’s picture

Status: Needs work » Needs review
yesct’s picture

Issue summary: View changes

changes to

lib/Drupal/tcmb/Plugin/Block/TcmbCurrencyBlock.php
lib/Drupal/tcmb/Plugin/Block/TcmbGoldBlock.php

look unrelated. that might be separate clean up and distracting from identifying the problem of getting the settings to show in the admin menu.

--
added links to the change record and core issue in the issue summary.
--
before that core issue went in, did it show in /admin/config/system ? when it was using hood_menu_link_defaults() ?

kartagis’s picture

It did, right before parent routes were renamed. At least timplunkett told me they were renamed.

kartagis’s picture

StatusFileSize
new4.05 KB

Adding patch which contains the .menu_links.yml and doesn't contain any of the files under lib/

Status: Needs review » Needs work

The last submitted patch, 7: tcmb-new.patch, failed testing.

kartagis’s picture

Status: Needs work » Needs review
StatusFileSize
new2.79 KB

Attaching new patch.

yesct’s picture

Status: Needs review » Needs work

Notes from irc:

so you took out hook_menu_links_defaults() ... and changes some route id names in routing.yml
http://drupalcode.org/project/tcmb.git/blob/HEAD:/tcmb.routing.yml
and the "page" /admin/config/system/tcmb-settings loads
what about local tasks or menu links...
http://drupalcode.org/project/tcmb.git/blob/HEAD:/tcmb.local_tasks.yml
it is in the title of the issue :) Update .menu_links.yml and .routing.yml to make settings show in /admin/config/system

and the base_route and parent_id stuff there doesn't seem quite correct.

change record you linked to is https://drupal.org/node/2228089
https://drupal.org/node/2228089 => hook_menu_link_defaults() moved to *.menu_links.yml files => 0 comments, 6 IRC mentions
and since you removed those hooks, that title implies you would have had to created a menu_links.yml

so, take a look at both the local tasks and the menu links yml s

https://drupal.org/node/2165273 might be helpful also
https://drupal.org/node/2165273 => Improved DX and altered keys for local tasks definitions => 0 comments, 3 IRC mentions

jessebeach’s picture

I can't get the links to load either. Looking into this further.

jessebeach’s picture

StatusFileSize
new4.66 KB

I've at least got some of the menu links appearing in the /admin/config/system path. It seems there are some clashes and mismatches between routes, menu_links and local_tasks IDs.

yesct’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 12: menu_links-2233369-12.patch, failed testing.

kartagis’s picture

Status: Needs work » Needs review

Rerolling

kartagis’s picture

StatusFileSize
new3.52 KB

Forgot to add the patch.

kartagis’s picture

Status: Needs review » Fixed

The .yml files were updated in accordance with the API.

yesct’s picture

@Kartagis Please summarize in words what you had to do.

Also, please give your thoughts on what was missing form the change records that made it difficult to know what changes you had to make.

I think we should be able to improve the docs so that other module developers can have an improved experience.

Status: Fixed » Closed (fixed)

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