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.
In wordpress I am able to paste a Vimeo or Youtube URL into any text editor and the video will be automatically embeded. No need to include embed code.
How can I do that in Drupal 8?
Not only is that a very nice and practical feature but also the videos are responsive.
I tried Drupal 8, i created a module called 'book' located in sites/all/modules/book and i created a controller, form... without problem.
But when i tried to use https://www.drupal.org/docs/8/creating-custom-modules/theming, i created book.module file, i followed the documentation but my template is not rendered. Moreover it seems that my book.module is not working because i put a die('dead !'); inside and nothing appear, i got the page without template.
I have a few blocks I would like to use one common custom template for and I cannot figure out how to go about it.
Of course I can create N copies of my custom template each named after an individual block but then I will have to maintain these N identical copies in case of any changes - not nice. As far as I understand, the machine names of the blocks are beyond my control, at least I can't see how I possibly could [re]name N arbitrary blocks so that they follow a similar naming pattern and I could use one template for all of them.
Any ideas?
About 28% of all .edu websites worldwide use Drupal. That is double the number of the nearest competitor, WordPress. Drupal is also used by 7 out of 10 top universities and educational institutions around the world. That makes a convincing argument for rating Drupal as the best platform for higher education websites.
After each manually check for updates or cron run, I get no further information about available updates for core or modules. Instead I am always told that the last check was 1 month ago.