Installing and uninstalling the Relation module

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

Relation is installed using the standard Drupal procedure – see Installing contributed modules (Drupal 7) for details.

Once the project files are in place on your server, several new modules will appear in the module list on your site:

Relation core modules

  • Relation: This module provides essential functionality for using relation entities. This module is required to use relations.
    • Relation Endpoints Field: This module manages the endpoints field on relation entities. It is required when using Relation.
  • Relation UI: This module provides UI for managing relations and relation types.
  • Relation Dummy Field: This module provides a simple field widget for displaying associated relations when viewing an entity, such as all siblings to a user.
  • Relation Entity Collector block: This module provides a simple user interface for creating entities on your site. It is meant for developers and site builders rather than end users – see separate documentation for information on how to use it.

Relation 3rd party integration modules

These optional modules integrate Relation to other Drupal modules. The version of relation core modules is not reflected into these.

  • Relation Migrate: Adds relation support to Migrate module.
  • Relation Feeds: Adds relation support to Feeds module. Requires newer than 1.0-alpha8 release so currently this is only usable with -dev release of feeds.

As with other modules, you check the ones you want to enable (at least Relation and Relation Endpoints Field) and hit the save button to enable Relation on your site.

Uninstalling Relation

  1. If you are using the relation dummy field, delete every field of 'relation' type then run cron. This is the same as deleting any other field.
  2. You also need to disable and uninstall every other module depending on the Relation Endpoints module in the order allowed.
  3. Once relation module itself is disabled and uninstalled it marks the endpoints field for deletion. You need to run cron to remove the contents of the endpoints table. This might require several cron runs. You will see on the modules page how relation endpoints can not be uninstalled because there are fields using it.
  4. Now you can disable and uninstall relation endpoints itself.

Help improve this page

Page status: Not set

You can: