Description
This Module makes the Devicons available to Drupal as a library. Devicons are Designed, handcrafted & coded by Theodore Vorillas.
- Depending on your application Devicons can be enabled or disabled globally.
- Through a CSS parser function CSS Classes automatically displayed on demo page (multi version support)
- The demo page shows the Icon, the CSS Class Name and Example Markup of all available Devicons
- Drush download support
INSTALLATION
Libraries API 2
Download and install the Libraries API 2 module.
Move the downloaded module package to sites/all/modules/.
=> sites/all/modules/libraries
In administration backend on the module configuration (admin/modules)
page you have now to install/activate the module and save the module
configuration.
Download Devicons
=> https://github.com/vorillaz/devicons/
Move the font to the directory "devicons" and place it inside
=> "sites/all/libraries"
Make sure the path to the Devicons folder becomes
=> "sites/all/libraries/devicons/"
CSS file example:
Example: "sites/all/libraries/devicons/css/devicons.css"
Drush Download
If you have Drush installed:
Download Devicons from project page:
(git required)
drush dl-devicons
Devicons Drupal Module
Download and install the Devicons module.
Move the downloaded module package to:
=> sites/all/modules/devicons
In administration backend on the module configuration
page (admin/modules) you have now to install/activate the module and save the module configuration.
Notice
------
The Drupal status report provides information on the correct installation
of the Devicons. (/admin/reports/status)
Activating
----------
After activation of the module you can Enable Devicons for the
whole page (hook_init()).
=> /admin/config/devicons/settings
Now you can visit the demo page to take a look at the Devicons.
=> /admin/config/devicons/demo
Module Development
The global Integration of devicons can be enabled/disabled in the backend. To load the Devicons manually from inside your own module, simply do:
libraries_load('devicons');
More information about "Using Libraries API 2.x" can be found here.
Project information
- Project categories: Integrations
- Created by medienverbinder on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

