You are here

function facebook_tracking_pixel_events in Facebook Tracking Pixel 8

Same name and namespace in other branches
  1. 7 facebook_tracking_pixel.module \facebook_tracking_pixel_events()

Return keyed array of standard events.

Return value

array

3 calls to facebook_tracking_pixel_events()
facebook_tracking_pixel_events_options in ./facebook_tracking_pixel.module
Return keyed array of standard events in a format for select boxes.
facebook_tracking_pixel_path_add_form_submit in ./facebook_tracking_pixel.admin.path.inc
Submit handler to add a new path based event.
facebook_tracking_pixel_path_edit_form_submit in ./facebook_tracking_pixel.admin.path.inc
Submit handler for path edit form.

File

./facebook_tracking_pixel.module, line 361
facebook_tracking_pixel.module Facebook Tracking Module.

Code

function facebook_tracking_pixel_events() {
  $hook = 'facebook_tracking_pixel_events';
  $results = module_invoke_all($hook);
  if (!is_array($results)) {
    $results = [];
  }
  drupal_alter($hook, $results);
  return $results;
}