With the conversion to drafty, we now use an entity info property to determine if an entity is CPSable.

However, cps_file_entity.module is missing the hook.

For reference, the one from cps_node looks like this:

/**
 * Implements hook_entity_info_alter().
 */
function cps_node_entity_info_alter(&$info) {
  $info['node']['cps'] = TRUE;
}

The one for file_entity will be the same but for the 'file' entity.

(Submitting this as an issue so I don't forget it)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

David_Rothstein’s picture

Status: Active » Needs review
FileSize
532 bytes

I needed this, so here's a patch.

merlinofchaos’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Status: Closed (fixed) » Needs work

The last submitted patch, 1: cps-file-entity-info-alter-2406821-1.patch, failed testing.

David_Rothstein’s picture

Status: Needs work » Closed (fixed)

Testbot weirdness.