How To Install drupal7-menu_token on Fedora 36

In this tutorial we learn how to install drupal7-menu_token in Fedora 36. drupal7-menu_token is Provides tokens in menu items (links)

Introduction

In this tutorial we learn how to install drupal7-menu_token on Fedora 36.

What is drupal7-menu_token

Menu Token module provides tokens, that could be used in title or in path of menu items (links). For example, if you create a menu item with path “user/1” (assuming you are user 1). Tokens are provided by Token [1] module. Menu Token allows to use both global tokens and entity ones several methods of substitution This package provides the following Drupal 7 module * menu_token [1] https

We can use yum or dnf to install drupal7-menu_token on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install drupal7-menu_token.

Install drupal7-menu_token on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install drupal7-menu_token using dnf by running the following command:

sudo dnf -y install drupal7-menu_token

Install drupal7-menu_token on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install drupal7-menu_token using yum by running the following command:

sudo yum -y install drupal7-menu_token

How To Uninstall drupal7-menu_token on Fedora 36

To uninstall only the drupal7-menu_token package we can use the following command:

sudo dnf remove drupal7-menu_token

drupal7-menu_token Package Contents on Fedora 36

/usr/share/drupal7/modules/menu_token
/usr/share/drupal7/modules/menu_token/menu_token.admin.inc
/usr/share/drupal7/modules/menu_token/menu_token.css
/usr/share/drupal7/modules/menu_token/menu_token.info
/usr/share/drupal7/modules/menu_token/menu_token.install
/usr/share/drupal7/modules/menu_token/menu_token.module
/usr/share/drupal7/modules/menu_token/menu_token.test
/usr/share/drupal7/modules/menu_token/plugins
/usr/share/drupal7/modules/menu_token/plugins/menu_token_entity_context.inc
/usr/share/drupal7/modules/menu_token/plugins/menu_token_entity_random.inc
/usr/share/drupal7/modules/menu_token/plugins/menu_token_entity_user_defined.inc
/usr/share/licenses/drupal7-menu_token
/usr/share/licenses/drupal7-menu_token/LICENSE.txt

References

Summary

In this tutorial we learn how to install drupal7-menu_token on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).