Content Hub

Using Devel with Content Hub 1.x for Drupal 7

Important

Content Hub 1.x will reach end-of-life on September 30, 2024. Acquia recommends you to upgrade to Content Hub 3.x. For more information, see Upgrading from Content Hub 1.x to 3.x.

Content Hub for Drupal 7.x includes an extension of the Devel module for troubleshooting Content Hub specific issues.

Enabling Content Hub Devel

Enable the Devel extension for Acquia Content Hub like any other Drupal module. As an administrator:

  1. Navigate to the Modules or Extend page.
  2. Select the checkbox next to Acquia Content Hub Development.
  3. Click Save configuration.

Using Devel

After enabling the module, a new Content Hub Devel tab displays on content nodes to users with the Access developer information permission.

Accessing the tab enables you to view the CDF (common data format) information for that node. Sub-tabs are available for more information:

  • Local: displays the array format of CDF for that node.
  • Local JSON: displays the JSON format of CDF for that node.
  • Remote: displays the response from the hub in the array format of CDF.
  • Remote JSON: displays the response, from the hub, in the JSON . format of CDF for that node.

Note

If the Remote tab displays the message The Content Hub does not have an entity with UUID = xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx instead of displaying the CDF, it means content is not pushing to the Hub. This information helps the developer to debug.

You can expand each of the values by clicking on their bar, so you can see the exact value of the variable.