You are here

function sliderfield_module_implements_alter in SliderField 7.2

File

./sliderfield.module, line 284

Code

function sliderfield_module_implements_alter(&$implementations, $hook) {

  //For compatibility with webform_localization module
  if ($hook == 'webform_component_render_alter') {

    // Move my_module_rdf_mapping() to the end of the list. module_implements()
    // iterates through $implementations with a foreach loop which PHP iterates
    // in the order that the items were added, so to move an item to the end of
    // the array, we remove it and then add it.
    $group = $implementations['sliderfield'];
    unset($implementations['sliderfield']);
    $implementations['sliderfield'] = $group;
  }
}