Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.
/ link_alter Public archive

Drupal 8/9 - Alter menu link text by inserting HTML

Notifications You must be signed in to change notification settings

gnikolovski/link_alter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

Alter menu links by inserting text or HTML code.

You can use this module for example to add Font Awesome code to your links.

Go to your menu link (for example: /admin/structure/menu/item/1) and find the "ALTER LINK TEXT" settings. Add some text or HTML code, choose the position where you want to insert the text and hit the "Save button".

NOTE: you cannot use this module to alter links provided by modules, like the logout link in the user account menu.

Blog post: http://dev.studiopresent.com/blog/back-end/altering-menu-links

REQUIREMENTS

This module requires no modules outside of Drupal core.

INSTALLATION

CONFIGURATION

There is no global configuration.

MAINTAINERS

About

Drupal 8/9 - Alter menu link text by inserting HTML

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published