How To Install drupal7-eva on CentOS 7

In this tutorial we learn how to install drupal7-eva on CentOS 7. drupal7-eva is Provides a Views display type that can be attached to entities

Introduction

In this tutorial we learn how to install drupal7-eva on CentOS 7.

What is drupal7-eva

“Eva” is short for “Entity Views Attachment;” it provides a Views display plugin that allows the output of a View to be attached to the content of any Drupal entity. The body of a node or comment, the profile of a user account, or the listing page for a Taxonomy term are all examples of entity content. The placement of the view in the entity’s content can be reordered on the “Field Display” administration page for that entity, like other fields added using the Field UI module. In addition, the unique ID of the entity the view is attached to – as well as any tokens generated from that entity – can be passed in as arguments to the view. For example, you might make a View that displays posts with an ‘Author ID’ argument, then use Eva to attach the view to the User entity type. When a user profile is displayed, the User’s ID will be passed in as the argument to the view magically.

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

Install drupal7-eva on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install drupal7-eva

Install drupal7-eva on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install drupal7-eva

How To Uninstall drupal7-eva on CentOS 7

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

sudo dnf remove drupal7-eva

References

Summary

In this tutorial we learn how to install drupal7-eva on CentOS 7 using yum and dnf.