Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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)
Comment | File | Size | Author |
---|---|---|---|
#1 | cps-file-entity-info-alter-2406821-1.patch | 532 bytes | David_Rothstein |
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein at Tag1 Consulting commentedI needed this, so here's a patch.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedComment #6
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedTestbot weirdness.