This module adds a node edit (and taxonomy term edit) button into the admin toolbar.
Configuration
Currently, after activating the module you have to go to "Structure > Block layout > Tabs (block) > Configure" and in "Visibility (vertical tab) > Pages" set " Hide for the listed pages" and for Pages
/node/*
/taxonomy/term/*This way you would remove the "Local tasks tabs" from the node view (node detail) and taxonomy term view (taxonomy term detail) pages and you will have just the "Edit" button in the admin toolbar (up, right).
Also, make sure you don't have the Quick Edit and
Contextual Links modules activated.
Project link
https://www.drupal.org/project/toolbar_edit_button
Git instructions
git clone --branch 8.x-1.x https://git.drupalcode.org/project/toolbar_edit_button.git
PAReview checklist
https://pareview.sh/pareview/https-git.drupal.org-project-toolbar_edit_b...
Comments
Comment #2
avpadernoThank you for applying! I added the Git instructions for non-maintainer users and the PAReview checklist link. Reviewers will check the project and post comments to list what should be changed.
If you haven't done it, yet, please check the PAReview report and fix what needs to be fixed. There could be some false positives; verify that what reported is correct, before making any change.
Also, remember to change status, when the project is ready to be reviewed. The current status is telling reviewers not to review the project.
Comment #3
nikolay borisov commentedThanks a lot, kiamlaluno!
I will fix those small things and I will change the status of this ticket to "Needs review"
Cheers!
Comment #4
klausiOtherwise looks good to me.
Thanks for your contribution, Nikolay!
I updated your account so you can opt into security advisory coverage now.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #5
nikolay borisov commentedHi klausi!
Thanks a lot for your input!
Actually initially it was a service, that I called directly with \Drupal::service() in hook_toolbar() and then I switched to class_resolver + Class name change. At the same time, phpcs and phpmd did not find the unused services.yml file so that's why I missed it.
Thanks a lot! I will fix the suggestions from klausi + the PAReview suggestions.
Cheers and have a nice day,
Nikolay