Devel Kint Extras

This module offers to display methods and statics available for an object when using Kint. It was created because the Devel module maintainers decided to remove the Kint plugins responsible for showing object available methods and static class properties in version 3.0 of the module (the relevant issue).

Devel

August 2022

  • A new Devel 5 is available. It is the recommended release for Drupal 9 and 10. The webprofiler submodule was moved from Devel to WebProfiler project
  • Devel 4 (and prior branches) are now minimally supported.

File (Field) Paths

Note, originally we wanted to use this with Media image and token: [node:content-type].  However, this is not possible as the media image is not limited to a specific content type.  However, in this case it does enable the 'media directories' module to be referenced by token.

The File (Field) Paths module extends the default functionality of Drupal's core File module, Image module and many other File upload modules, by adding the ability to use entity based tokens in destination paths and file names.

Media Directories

This module offers an alternative way to browse and use Medias. Initial UI is available (full featured jsTree directory browser experience) and enhances the Media experience.

It provides directory/folder structure for Media entities, after enabling, a new field will appear to Media entities, which will allow assigning them to folders.

File Rename

Very useful as often the originally uploaded files would benefit from being improved for SEO.

This module adds the ability to rename a file which was uploaded to the system.
It can be integrated in the media detail page.

document.getElementById() alternatives

In the below we explain the JavaScript alternatives to getElementById() and show a working example of getElementById() together with two alternatives.  You can Scroll down and then click the buttons to read how the targets have been referenced.  Once we have the elements we apply some styles and add some text within our divs #target-1, #target-2 and #target-3 which you'll see when you click the buttons.

In our HTML code we have the following:

EU Cookie Compliance

This module addresses the General Data Protection Regulation (GDPR) that came into effect 25th May 2018, and the EU Directive on Privacy and Electronic Communications from 2012. It provides a GDPR cookie banner where you can gather consent from the user when the website stores cookies on their computer or otherwise handles their personal information.