PHP Classes

Drupal Icon Module API: Icons for Drupal blocks, menus, filters and fields

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 28 All time: 11,158 This week: 73Up
Version License PHP version Categories
icon_api 1.0.0The PHP License5PHP 5, Content management
Description 

Author

This package is a Drupal module that provides the integration of icons in blocks, menus, filters and fields.

It comes with modules that can insert icon images in page blocks, form fields, menus items, as well a filter that may replace [icon api:] marks with icon images.

Innovation Award
PHP Programming Innovation award nominee
February 2020
Number 5
Drupal is a well known PHP based content management system. It provides the possibility to expand its capabilities by the means of installing modules developed by third-party developers.

This package implements a Drupal module that can be used to display a new set of icons in blocks, menus, filters and fields in sites served using Drupal.

Manuel Lemos
Picture of Malik Naik
  Performance   Level  
Name: Malik Naik is available for providing paid consulting. Contact Malik Naik .
Classes: 9 packages by
Country: India India
Age: 26
All time rank: 3540234 in India India
Week rank: 170 Up21 in India India Up
Innovation award
Innovation award
Nominee: 5x

Documentation

Icon API

Icon API is a Drupal 8 module which provides the integration of icons to the Blocks, Menu Items, Filters and Fields throughout the Drupal.

Installation

To install this module you must have an Drupal 8 installed and then follow the following steps: Download this module from the8.x-2.x* branch to your modules directory and install it from the Extend page and also install the Fontawesome Bundle provided along with this module. * Visit `http://<YOUR_DRUPAL_SITE>/admin/config/icons/overview` and you'll see the list of Icon bundles installed and you can Configure the settings of the Icon bundle by going to the Configuration form and by selecting the Configure Bundle for specific Icon Bundle. Install any of the sub-modules(Icon Block,Icon Menu,Icon FilterandIcon Field* which are included with this module) and go to their configuration form and you'll see the Icon details field and specify the settings for the icon to appear. * Visit the page where Block, Menu, Content and Field is visible and you'll see the result.

Sub Modules

This module comes with 5 sub modules which are currently in alpha version and they are listed below: * Font Awesome Bundle (Icon Bundle for all the following sub-modules) * Icon Block * Icon Menu * Icon Filter * Icon Field (under development)

Supporting Organization

Google Summer of Code

Links

The following are the links related to this projects: * Google Summer of Code Project Link * Icon API Drupal Module page


  Files folder image Files (52)  
File Role Description
Files folder imagebundles (2 directories)
Files folder imagemodules (4 directories)
Files folder imagesrc (4 files, 2 directories)
Files folder imagetemplates (1 file)
Accessible without login Plain text file icon_api.info.yml Data Auxiliary data
Accessible without login Plain text file icon_api.links.menu.yml Data Auxiliary data
Accessible without login Plain text file icon_api.module Data Auxiliary data
Accessible without login Plain text file icon_api.permissions.yml Data Auxiliary data
Accessible without login Plain text file icon_api.routing.yml Data Auxiliary data
Accessible without login Plain text file icon_api.services.yml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file README.txt Doc. Documentation

  Files folder image Files (52)  /  bundles  
File Role Description
Files folder imagefontawesome_bundle (4 files, 3 directories)
Files folder imagetest_bundle (2 files, 2 directories)

  Files folder image Files (52)  /  bundles  /  fontawesome_bundle  
File Role Description
Files folder imageconfig (1 directory)
Files folder imagemetadata (1 file)
Files folder imagesrc (2 files, 3 directories)
  Accessible without login Plain text file fontawesome_bundle.info.yml Data Auxiliary data
  Accessible without login Plain text file fontawesome_bundle.libraries.yml Data Auxiliary data
  Accessible without login Plain text file fontawesome_bundle.module Example Example script
  Accessible without login Plain text file fontawesome_bundle.routing.yml Data Auxiliary data

  Files folder image Files (52)  /  bundles  /  fontawesome_bundle  /  config  
File Role Description
Files folder imageinstall (1 file)

  Files folder image Files (52)  /  bundles  /  fontawesome_bundle  /  config  /  install  
File Role Description
  Accessible without login Plain text file fontawesome_bundle.config.yml Data Auxiliary data

  Files folder image Files (52)  /  bundles  /  fontawesome_bundle  /  metadata  
File Role Description
  Accessible without login Plain text file icons.yml Data Auxiliary data

  Files folder image Files (52)  /  bundles  /  fontawesome_bundle  /  src  
File Role Description
Files folder imageController (1 file)
Files folder imageForm (1 file)
Files folder imagePlugin (1 directory)
  Plain text file FontAwesomeIconData.php Class Class source
  Plain text file IconStyle.php Class Class source

  Files folder image Files (52)  /  bundles  /  fontawesome_bundle  /  src  /  Controller  
File Role Description
  Plain text file AutocompleteController.php Class Class source

  Files folder image Files (52)  /  bundles  /  fontawesome_bundle  /  src  /  Form  
File Role Description
  Plain text file FontAwesomeSettingsForm.php Class Class source

  Files folder image Files (52)  /  bundles  /  fontawesome_bundle  /  src  /  Plugin  
File Role Description
Files folder imageIconBundle (1 file)

  Files folder image Files (52)  /  bundles  /  fontawesome_bundle  /  src  /  Plugin  /  IconBundle  
File Role Description
  Plain text file FontAwesomeBundle.php Class Class source

  Files folder image Files (52)  /  bundles  /  test_bundle  
File Role Description
Files folder imageconfig (1 directory)
Files folder imagesrc (1 file, 3 directories)
  Accessible without login Plain text file test_bundle.info.yml Data Auxiliary data
  Accessible without login Plain text file test_bundle.routing.yml Data Auxiliary data

  Files folder image Files (52)  /  bundles  /  test_bundle  /  config  
File Role Description
Files folder imageinstall (1 file)

  Files folder image Files (52)  /  bundles  /  test_bundle  /  config  /  install  
File Role Description
  Accessible without login Plain text file test_bundle.config.yml Data Auxiliary data

  Files folder image Files (52)  /  bundles  /  test_bundle  /  src  
File Role Description
Files folder imageController (1 file)
Files folder imageForm (1 file)
Files folder imagePlugin (1 directory)
  Plain text file IconStyle.php Class Class source

  Files folder image Files (52)  /  bundles  /  test_bundle  /  src  /  Controller  
File Role Description
  Plain text file AutocompleteController.php Class Class source

  Files folder image Files (52)  /  bundles  /  test_bundle  /  src  /  Form  
File Role Description
  Plain text file TestSettingsForm.php Class Class source

  Files folder image Files (52)  /  bundles  /  test_bundle  /  src  /  Plugin  
File Role Description
Files folder imageIconBundle (1 file)

  Files folder image Files (52)  /  bundles  /  test_bundle  /  src  /  Plugin  /  IconBundle  
File Role Description
  Plain text file TestBundle.php Class Class source

  Files folder image Files (52)  /  modules  
File Role Description
Files folder imageicon_block (6 files, 2 directories)
Files folder imageicon_field (2 files, 2 directories)
Files folder imageicon_filter (1 file, 1 directory)
Files folder imageicon_menu (3 files)

  Files folder image Files (52)  /  modules  /  icon_block  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (1 file)
  Accessible without login Plain text file icon_block.info.yml Data Auxiliary data
  Accessible without login Plain text file icon_block.install Example Example script
  Accessible without login Plain text file icon_block.libraries.yml Data Auxiliary data
  Accessible without login Plain text file icon_block.module Example Example script
  Accessible without login Plain text file icon_block.permissions.yml Data Auxiliary data
  Accessible without login Plain text file README.txt Doc. Documentation

  Files folder image Files (52)  /  modules  /  icon_block  /  css  
File Role Description
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files (52)  /  modules  /  icon_block  /  js  
File Role Description
  Accessible without login Plain text file script.js Data Auxiliary data

  Files folder image Files (52)  /  modules  /  icon_field  
File Role Description
Files folder imagesrc (1 directory)
Files folder imagetemplates (1 file)
  Accessible without login Plain text file icon_field.info.yml Data Auxiliary data
  Accessible without login Plain text file icon_field.module Data Auxiliary data

  Files folder image Files (52)  /  modules  /  icon_field  /  src  
File Role Description
Files folder imagePlugin (1 directory)

  Files folder image Files (52)  /  modules  /  icon_field  /  src  /  Plugin  
File Role Description
Files folder imageField (3 directories)

  Files folder image Files (52)  /  modules  /  icon_field  /  src  /  Plugin  /  Field  
File Role Description
Files folder imageFieldFormatter (1 file)
Files folder imageFieldType (1 file)
Files folder imageFieldWidget (1 file)

  Files folder image Files (52)  /  modules  /  icon_field  /  src  /  Plugin  /  Field  /  FieldFormatter  
File Role Description
  Plain text file IconFieldFormatter.php Class Class source

  Files folder image Files (52)  /  modules  /  icon_field  /  src  /  Plugin  /  Field  /  FieldType  
File Role Description
  Plain text file IconFieldItem.php Class Class source

  Files folder image Files (52)  /  modules  /  icon_field  /  src  /  Plugin  /  Field  /  FieldWidget  
File Role Description
  Plain text file IconFieldWidget.php Class Class source

  Files folder image Files (52)  /  modules  /  icon_field  /  templates  
File Role Description
  Accessible without login Plain text file icon-field.html.twig Data Auxiliary data

  Files folder image Files (52)  /  modules  /  icon_filter  
File Role Description
Files folder imagesrc (1 directory)
  Accessible without login Plain text file icon_filter.info.yml Data Auxiliary data

  Files folder image Files (52)  /  modules  /  icon_filter  /  src  
File Role Description
Files folder imagePlugin (1 directory)

  Files folder image Files (52)  /  modules  /  icon_filter  /  src  /  Plugin  
File Role Description
Files folder imageFilter (1 file)

  Files folder image Files (52)  /  modules  /  icon_filter  /  src  /  Plugin  /  Filter  
File Role Description
  Plain text file FilterIcon.php Class Class source

  Files folder image Files (52)  /  modules  /  icon_menu  
File Role Description
  Accessible without login Plain text file icon_menu.info.yml Data Auxiliary data
  Accessible without login Plain text file icon_menu.module Example Example script
  Accessible without login Plain text file icon_menu.permissions.yml Data Auxiliary data

  Files folder image Files (52)  /  src  
File Role Description
Files folder imageAnnotation (1 file)
Files folder imageController (1 file)
  Plain text file IconBundleBase.php Class Class source
  Plain text file IconBundleInterface.php Class Class source
  Plain text file IconBundleManager.php Class Class source
  Plain text file IconStyle.php Class Class source

  Files folder image Files (52)  /  src  /  Annotation  
File Role Description
  Plain text file IconBundle.php Class Class source

  Files folder image Files (52)  /  src  /  Controller  
File Role Description
  Plain text file IconBundleController.php Class Class source

  Files folder image Files (52)  /  templates  
File Role Description
  Accessible without login Plain text file icon-api.html.twig Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:28
This week:0
All time:11,158
This week:73Up