WT Google material icons

WT Google material icons

Downloads 1308 Hits 1778 CTR 74% 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

94 Extensions
11 Categories
459 Versions released
482046 Downloads
Cart
Cart is empty