I created a new page (child item) and added it under the parent item page, but for some reason the local navigation for the sidebar doesn't show the navigation menu with the parent and child item. I test added my new page to a different parent item and it appears in that local navigation.
I do see local navigation - primary and local navigation - secondary blocks within sidebar under manage display. Any advice?
I'm pretty new to Drupal and I'm creating a new content type. The site uses custom breadcrumbs built using BreadcrumbBuilderInterface for certain content types which was built before my time. I added my content type to the list and the my new pages appear in the breadcrumbs menu now, but I'm not sure why the page's URL doesn't show the page title, but instead the node number.
I am trying to create a cookie in D8.9 with SameSite=none with secure attribute in D8, using Symfony\Component\HttpFoundation\Cookie class but unable to do so as the class doesn't allow the secure attribute along with none. Also, I tried setting the Cookie's secure parameter to TRUE but it results in infinite redirects in my site. Don't want to implement the solution on site level as it will affect other cookies capabilities. I just want to do this for one particular cookie I am creating. Is there anyone who can help on this. Thanks in advance.
I did some module development in D7, and now I am going through the initial struggle of the switch.
I am a part-time Drupal developer and In Drupal 7 I was able to print_r($view) under hooks to understand the structure of an array/object. This is what I used majorly to find my way around D7.
Similar approach isn't working in drupal 8.
For instance under hook_fixes_views_pre_view() print_r($view) doesn't print anything.