Early Bird Registration for DrupalCon Atlanta is now open! By registering during our Early Bird Registration window, you’ll save $100. This window ends on 19 January 2025 and will go by quickly, so don’t wait!
This is a starting point to make the toolbar tab available in the admin theme, configurable using the settings file and switched off by default. This does not include any kind of configuration form but instead uses a config setting.
This could easily be expanded upon to add a config form.
I have also added a fix for the admin toolbar tab icon (edit-icon) as this is currently not working.
Comment | File | Size | Author |
---|---|---|---|
#9 | 2947903-make-admin-toolbars-tabs-configurable.patch | 3.61 KB | andy_w |
Comments
Comment #2
andy_w CreditAttribution: andy_w at Numiko commentedIn order to make use of this patch we amend the settings.php file to include:
Comment #3
andy_w CreditAttribution: andy_w at Numiko commentedComment #4
andy_w CreditAttribution: andy_w at Numiko commentedMissed out the libraries file
Comment #5
karimbou CreditAttribution: karimbou commentedI would like to know if it's normal in the block region for adminal theme there's not primary tabs and no secondary tabs like the seven theme for instance ? Aswell no block called status message ?
What i mean is per default I don't have any blocks at all
Comment #6
andy_w CreditAttribution: andy_w at Numiko commentedHi, is that comment related to this feature? Thanks.
Comment #7
daniel korteI created a child issue to handle the pencil icon issue since that is unrelated to the primary bug report of this issue. Also, the patch here is missing the active tab CSS, it requires a specific folder structure since it references the core SVG icons, and it doesn’t check if the Contextual links module is disabled which is the cause of the pencil icon not showing up.
#3155956: Pencil icon is missing when the Contextual links module is disabled
Comment #8
daniel korteI think a config form is necessary here. Also, the icon issue has been fixed in the child issue so that code should be removed.
Comment #9
andy_w CreditAttribution: andy_w at Numiko commentedUpdated this to include a settings form and remove the already resolved styling.
Comment #11
daniel korteThanks, looks good. I removed the permission part and used the regular 'administer site configuration' permission here.
Comment #12
daniel korte