zach.seifts.us
zach.seifts.usSkip to main content. Writing Drupal 7 input filters with hook filter info and DOMDocument. Submitted by zach on April 10, 2014 - 1:25pm. Module pretty much takes care of enforcing that. I also needed to do is to provide a filter to add some classes to a few different dom elements a user might include in a page. For instance, we want to add the. You start with implementing the. Hook with some information about your filter:. After that we need to define the process callback for the filter. Empty($text) { ...
http://zach.seifts.us/
SOCIAL ENGAGEMENT