You are here

interface AdBlockInterface in Google AdSense integration 8

Interface for adsense ad blocks.

Hierarchy

Expanded class hierarchy of AdBlockInterface

All classes that implement AdBlockInterface

3 files declare their use of AdBlockInterface
AdsenseFilter.php in src/Plugin/Filter/AdsenseFilter.php
CustomSearchAdBlock.php in src/Plugin/Block/CustomSearchAdBlock.php
ManagedAdBlock.php in src/Plugin/Block/ManagedAdBlock.php

File

src/AdBlockInterface.php, line 8

Namespace

Drupal\adsense
View source
interface AdBlockInterface {

  /**
   * Create ad object.
   *
   * @return AdsenseAdBase
   *   The created ad.
   */
  public function createAd();

}

Members

Namesort descending Modifiers Type Description Overrides
AdBlockInterface::createAd public function Create ad object. 2