public function FacebookEventInterface::addEvent in Facebook Pixel 8
Register an event.
Parameters
string $event: The event name.
mixed $data: The event data.
1 method overrides FacebookEventInterface::addEvent()
- FacebookEvent::addEvent in src/
FacebookEvent.php - Register an event.
File
- src/
FacebookEventInterface.php, line 18
Class
- FacebookEventInterface
- Defines the interface for facebook_pixel service.
Namespace
Drupal\facebook_pixelCode
public function addEvent($event, $data);