Add the "getAttributesFromDca" hook (see #6340)