Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have started creating an example module, at this moment is basically a Hello world.
My intention is to include CodeIgniter views in the module's page. I also want to create a menu in Drupal's admin panel, with links to all the CI controllers.
I know I need to create a .routing.yml file with all the routes, but I have managed to do this dynamically in a PHP class, inside module_name/src/Routing/Routes.php with RouteCollection, and adding a route_callback in the .routing.yml pointing to my class.
We are looking for someone who can update a custom module for drupal/ubercart 6x to the latest 8x.
Our site is in need of an update. We will provide an already updated installation of Drupal 8x with full access for updating and testing of the module during the testing phase. We just need someone to update it so it works exactly as in 6x, possible with some minor tweaks.
I have a D8.1.3 where the breadcrumbs and active paths are not correct until a cache flush.
Behavior exists when you click through to successive pages
Site is in development so I don't have any caching in performance enabled.
BC Example 1
page /news. BC=Home->News (ok)
then go to /careers. BP=Home->News (?) / flush cache then BC=Home->Careers
I have one view that has several blocks. Is it possible to use different templates for different view blocks? And what would be the correct naming syntax in that case?
e.g. I would like to have something like views-view-fields--VIEW_NAME--BLOCK_DISPLAY_NAME.html.twig
Is there anyway to delete field collections programmatically in Drupal 8? I have created a field collections and attached it to the user entity in the following method.