Drupal 8 - Alter menu link text by inserting HTML.
Branch: 8.x-1.x
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
composer.json
link_alter.info.yml
link_alter.module

README.md

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