New answers tagged

0

I think you'll need to have a look to PathProcessors, you might do something like that: mymodule/mymodule.services.yml mymodule.path_processor: class: Drupal\mymodule\PathProcessor\MymodulePathProcessor tags: - { name: path_processor_inbound, priority: 250 } mymodule/src/PathProcessor/MymodulePathProcessor <?php namespace Drupal\mymodule\...


2

You need to override the service directly. mymodule.services.yml services: maintenance_mode: # same ID as declared in core.services.yml class: Drupal\mymodule\Services\CustomMaintenanceMode # point to your class arguments: ['@state'] mymodule/src/Services/CustomMaintenaceMode.php <?php namespace Drupal\mymodule\Services; use Drupal\Core\...


0

If you need a cross Vocabularies like Product >> Cat-A >> Brand-X then you can use Taxonomi Menu UI (https://www.drupal.org/project/taxonomy_menu_ui). Taxonomy Menu UI works like "Node-Menu Setting", mean you can: Choose any parents: Brand-X has parent of Cat-A as your example Only show/hide certain Term on menu


Top 50 recent answers are included