Closed (fixed)
Project:
AddThis
Version:
7.x-4.x-dev
Component:
Documentation
Priority:
Minor
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
21 Nov 2011 at 17:48 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gnugetI want to work on this.
But, the method is hook_addthis_display_markup_alter or hook_addthis_display_markup ?
In the method getDisplayMarkup exists a module_implements for the second one but not for the first one.
Comment #2
matglas86 commentedI made a mistake in the naming. This should be addthis_markup_alter. The alter methods don't need a module_implements to execute it.
see drupal_alter for more information on the way alter function work.
Thanks for picking this up.
Comment #3
gnugetDone.
I attached the patch
Comment #4
matglas86 commentedChange the function name to hook_addthis_markup_alter and add the text "Implements hook_addthis_markup_alter." as the first line of the description.
Change the inline comment too.
Comment #5
gnugetThanks for the feedback.
patch attached
Comment #6
matglas86 commentedGreat. I'll pick it up and commit it later.
Comment #7
matglas86 commented