WT Google material icons

WT Google material icons

Downloads 3193 Hits 3561 CTR 90% Plg Free

The plugin registers the Google Material icons icon font in Joomla Web Assets Manager. Then you can use it in your extensions.

WT Google material icons

Description

This is a plugin for Joomla developers. It allows you to use Google Material icons: in modules, components, plugins.

How to use?

To connect Google material icons in Joomla in your code, use:

<?php
use Joomla\CMS\Factory;

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$app = Factory::getApplication();
$wa = $app->getDocument()->getWebAssetManager();
$wa->useStyle('wtgooglematerialicons.local');

?>

 If you want the font to connect from Google servers, then use the asset name wtgooglematerialicons.remote.

<?php
use Joomla\CMS\Factory;

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$app = Factory::getApplication();
$wa = $app->getDocument()->getWebAssetManager();
$wa->useStyle('wtgooglematerialicons.remote');

?>

Joomla

Extension type:
Plugin
Folder:
System
Joomla version:
4.0.0

What's new

Addition

First extension version

Supports local connection of the icon font and from Google servers.

WebTolk Joomla Extensions

113 Extensions
12 Categories
587 Versions released
927416 Downloads