Information for: DEVELOPERS   PARTNERS

Using Devel with Content Hub for Drupal 7

Acquia Content Hub for Drupal 7.x includes an extension of the Devel module for troubleshooting Acquia 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 check box 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.

content-hub-devel-tab.png

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.

ch-devel-expanded.png