Adding extra fields module

Drupal 10
Basic
module

The main reason for creating the extra fields module is due to File Details design updates (file extension and file size data). 

For now, it includes FileDetails, LastUpdated, and TitleField classes.

Please feel free to extend, add new general modules, and use the existing ones.

 

Quick guide on installing an extra fields module to a new project.

Step 1. Copy the module https://github.com/bigbluedoor/bbd_extra_fields

Step 2. Place it to web/module/custom folder

Step 3. Install the new module

Step 4. Go to Structure/Media types/Document and do a similar Structure. 

The file Details field should be able to be used.

 

Step 5. Next step - create a Document paragraph (include documents list) and check how it looks. 

The document’s extension and size info should appear. Example below:

That’s all. You have done a great Job!