interface FacebookEventInterface in Facebook Pixel 8
Defines the interface for facebook_pixel service.
Hierarchy
- interface \Drupal\facebook_pixel\FacebookEventInterface
Expanded class hierarchy of FacebookEventInterface
All classes that implement FacebookEventInterface
2 files declare their use of FacebookEventInterface
- CartSubscriber.php in modules/
facebook_pixel_commerce/ src/ EventSubscriber/ CartSubscriber.php - FacebookCheckout.php in modules/
facebook_pixel_commerce/ src/ Plugin/ Commerce/ CheckoutPane/ FacebookCheckout.php
File
- src/
FacebookEventInterface.php, line 8
Namespace
Drupal\facebook_pixelView source
interface FacebookEventInterface {
/**
* Register an event.
*
* @param string $event
* The event name.
* @param mixed $data
* The event data.
*/
public function addEvent($event, $data);
/**
* Get the facebook events.
*/
public function getEvents();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FacebookEventInterface:: |
public | function | Register an event. | 1 |
FacebookEventInterface:: |
public | function | Get the facebook events. | 1 |