How to extend admin config menu with custom panel Drupal 8












0















I am trying to add programmaticaly a custom,parent panel to the admin/config menu, so i can add other links to it, config pages of other modules etc. How can that be done? I am able to add custom module, under admin/config/development/my_module, for example, but i would like to group all my modules under same, custom parent panel.










share|improve this question























  • To be more precise, i would like to create a panel title, simiral to default PEOPLE, SYSTEM, CONTENT AUTHORING, etc ... making it available to be the parent of my different, existing, standalone custome modules

    – NewbieKa
    Nov 21 '18 at 13:30
















0















I am trying to add programmaticaly a custom,parent panel to the admin/config menu, so i can add other links to it, config pages of other modules etc. How can that be done? I am able to add custom module, under admin/config/development/my_module, for example, but i would like to group all my modules under same, custom parent panel.










share|improve this question























  • To be more precise, i would like to create a panel title, simiral to default PEOPLE, SYSTEM, CONTENT AUTHORING, etc ... making it available to be the parent of my different, existing, standalone custome modules

    – NewbieKa
    Nov 21 '18 at 13:30














0












0








0








I am trying to add programmaticaly a custom,parent panel to the admin/config menu, so i can add other links to it, config pages of other modules etc. How can that be done? I am able to add custom module, under admin/config/development/my_module, for example, but i would like to group all my modules under same, custom parent panel.










share|improve this question














I am trying to add programmaticaly a custom,parent panel to the admin/config menu, so i can add other links to it, config pages of other modules etc. How can that be done? I am able to add custom module, under admin/config/development/my_module, for example, but i would like to group all my modules under same, custom parent panel.







php drupal-8






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 20 '18 at 20:28









NewbieKaNewbieKa

25




25













  • To be more precise, i would like to create a panel title, simiral to default PEOPLE, SYSTEM, CONTENT AUTHORING, etc ... making it available to be the parent of my different, existing, standalone custome modules

    – NewbieKa
    Nov 21 '18 at 13:30



















  • To be more precise, i would like to create a panel title, simiral to default PEOPLE, SYSTEM, CONTENT AUTHORING, etc ... making it available to be the parent of my different, existing, standalone custome modules

    – NewbieKa
    Nov 21 '18 at 13:30

















To be more precise, i would like to create a panel title, simiral to default PEOPLE, SYSTEM, CONTENT AUTHORING, etc ... making it available to be the parent of my different, existing, standalone custome modules

– NewbieKa
Nov 21 '18 at 13:30





To be more precise, i would like to create a panel title, simiral to default PEOPLE, SYSTEM, CONTENT AUTHORING, etc ... making it available to be the parent of my different, existing, standalone custome modules

– NewbieKa
Nov 21 '18 at 13:30












1 Answer
1






active

oldest

votes


















0














Check in contrib modules for examples. Example from message module - message.links.menu.yml



message.overview_templates:
title: 'Message templates'
parent: system.admin_structure
description: 'Manage message templates.'
route_name: message.overview_templates

message.main_settings:
title: 'Message'
route_name: message.main_settings
parent: system.admin_config
description: 'Tools that enhance the user interface.'
weight: -10

message.settings:
title: 'Message'
description: 'Message settings.'
parent: 'message.main_settings'
route_name: message.settings


Also, check the official documentation: https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link






share|improve this answer
























  • Thank you for your time Denis. Regarding the route_name: message.overview_templates , do i have to define a route with the help of a form or a controller class, under the route name of overview_templates?I am affraid this will output an error, like no such route is defined

    – NewbieKa
    Nov 21 '18 at 12:34











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53401023%2fhow-to-extend-admin-config-menu-with-custom-panel-drupal-8%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Check in contrib modules for examples. Example from message module - message.links.menu.yml



message.overview_templates:
title: 'Message templates'
parent: system.admin_structure
description: 'Manage message templates.'
route_name: message.overview_templates

message.main_settings:
title: 'Message'
route_name: message.main_settings
parent: system.admin_config
description: 'Tools that enhance the user interface.'
weight: -10

message.settings:
title: 'Message'
description: 'Message settings.'
parent: 'message.main_settings'
route_name: message.settings


Also, check the official documentation: https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link






share|improve this answer
























  • Thank you for your time Denis. Regarding the route_name: message.overview_templates , do i have to define a route with the help of a form or a controller class, under the route name of overview_templates?I am affraid this will output an error, like no such route is defined

    – NewbieKa
    Nov 21 '18 at 12:34
















0














Check in contrib modules for examples. Example from message module - message.links.menu.yml



message.overview_templates:
title: 'Message templates'
parent: system.admin_structure
description: 'Manage message templates.'
route_name: message.overview_templates

message.main_settings:
title: 'Message'
route_name: message.main_settings
parent: system.admin_config
description: 'Tools that enhance the user interface.'
weight: -10

message.settings:
title: 'Message'
description: 'Message settings.'
parent: 'message.main_settings'
route_name: message.settings


Also, check the official documentation: https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link






share|improve this answer
























  • Thank you for your time Denis. Regarding the route_name: message.overview_templates , do i have to define a route with the help of a form or a controller class, under the route name of overview_templates?I am affraid this will output an error, like no such route is defined

    – NewbieKa
    Nov 21 '18 at 12:34














0












0








0







Check in contrib modules for examples. Example from message module - message.links.menu.yml



message.overview_templates:
title: 'Message templates'
parent: system.admin_structure
description: 'Manage message templates.'
route_name: message.overview_templates

message.main_settings:
title: 'Message'
route_name: message.main_settings
parent: system.admin_config
description: 'Tools that enhance the user interface.'
weight: -10

message.settings:
title: 'Message'
description: 'Message settings.'
parent: 'message.main_settings'
route_name: message.settings


Also, check the official documentation: https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link






share|improve this answer













Check in contrib modules for examples. Example from message module - message.links.menu.yml



message.overview_templates:
title: 'Message templates'
parent: system.admin_structure
description: 'Manage message templates.'
route_name: message.overview_templates

message.main_settings:
title: 'Message'
route_name: message.main_settings
parent: system.admin_config
description: 'Tools that enhance the user interface.'
weight: -10

message.settings:
title: 'Message'
description: 'Message settings.'
parent: 'message.main_settings'
route_name: message.settings


Also, check the official documentation: https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 '18 at 10:01









DenisDenis

5919




5919













  • Thank you for your time Denis. Regarding the route_name: message.overview_templates , do i have to define a route with the help of a form or a controller class, under the route name of overview_templates?I am affraid this will output an error, like no such route is defined

    – NewbieKa
    Nov 21 '18 at 12:34



















  • Thank you for your time Denis. Regarding the route_name: message.overview_templates , do i have to define a route with the help of a form or a controller class, under the route name of overview_templates?I am affraid this will output an error, like no such route is defined

    – NewbieKa
    Nov 21 '18 at 12:34

















Thank you for your time Denis. Regarding the route_name: message.overview_templates , do i have to define a route with the help of a form or a controller class, under the route name of overview_templates?I am affraid this will output an error, like no such route is defined

– NewbieKa
Nov 21 '18 at 12:34





Thank you for your time Denis. Regarding the route_name: message.overview_templates , do i have to define a route with the help of a form or a controller class, under the route name of overview_templates?I am affraid this will output an error, like no such route is defined

– NewbieKa
Nov 21 '18 at 12:34


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53401023%2fhow-to-extend-admin-config-menu-with-custom-panel-drupal-8%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

Npm cannot find a required file even through it is in the searched directory