You are here

interface PixelBuilderServiceInterface in Simple Facebook Pixel 8

Interface PixelBuilderServiceInterface.

Hierarchy

Expanded class hierarchy of PixelBuilderServiceInterface

All classes that implement PixelBuilderServiceInterface

File

src/PixelBuilderServiceInterface.php, line 8

Namespace

Drupal\simple_facebook_pixel
View source
interface PixelBuilderServiceInterface {

  /**
   * Gets pixel script code.
   *
   * @return string
   *   The Facebook Pixel script code.
   */
  public function getPixelScriptCode();

  /**
   * Gets pixel no-script code.
   *
   * @return string
   *   The Facebook Pixel noscript code.
   */
  public function getPixelNoScriptCode();

  /**
   * Checks if Facebook Pixel should be enabled.
   *
   * @return bool
   *   True if enabled, False otherwise.
   */
  public function isEnabled();

}

Members

Namesort descending Modifiers Type Description Overrides
PixelBuilderServiceInterface::getPixelNoScriptCode public function Gets pixel no-script code. 1
PixelBuilderServiceInterface::getPixelScriptCode public function Gets pixel script code. 1
PixelBuilderServiceInterface::isEnabled public function Checks if Facebook Pixel should be enabled. 1