We noticed that the module was missing a hook associated with getting supported field types.

Have included a patch to fix this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

simonmc’s picture

Status: Patch (to be ported) » Needs review

Changing issue

nnevill’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Assigned: simonmc » Unassigned
FileSize
2.26 KB

Here is updated patch which adds new hook and fixes two other issues (with saving asset on "override asset" form).

imyaro’s picture

Status: Needs review » Needs work

I think it should be separated patches.
+ please describe your new hook in the asset.api.php file.

nnevill’s picture

Status: Needs work » Needs review
FileSize
992 bytes

Here is a new version with hook described in asset.api.php file.

And yes, I agree separate patches should be done for other issues - will indeed create them recently.

imyaro’s picture

Status: Needs review » Reviewed & tested by the community

Ok for me.
Thanks.

IRuslan’s picture

Status: Reviewed & tested by the community » Needs work

Hi guys,

it's great idea to complete this functionality,
but current hook in patch is not enough.
Because we also need to add a way to hook into handling of each type, see assets_get_placeholder().
Because of this, real overridden values will not be stored within tag.

  • IRuslan committed 8b7dcc0 on 7.x-1.x
    [#2390767] Add alter ability for overridable field types and API file...
IRuslan’s picture

Status: Needs work » Fixed

Guys, thanks for work.
Accordingly to the last version of Asset module logic of this function was improved and the hook was added.
Pushed to dev version.

Status: Fixed » Closed (fixed)

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