You are here

public function AdsenseAdInterface::getAdContent in Google AdSense integration 8

Return the ad content.

Return value

array ad content

1 call to AdsenseAdInterface::getAdContent()
AdsenseAdBase::display in src/AdsenseAdBase.php
Display ad HTML.
5 methods override AdsenseAdInterface::getAdContent()
CustomSearchAd::getAdContent in src/Plugin/AdsenseAd/CustomSearchAd.php
Return the ad content.
CustomSearchV2Ad::getAdContent in src/Plugin/AdsenseAd/CustomSearchV2Ad.php
Return the ad content.
ManagedAd::getAdContent in src/Plugin/AdsenseAd/ManagedAd.php
Return the ad content.
OldCodeAd::getAdContent in oldcode/src/Plugin/AdsenseAd/OldCodeAd.php
Return the ad content.
OldSearchAd::getAdContent in oldcode/src/Plugin/AdsenseAd/OldSearchAd.php
Return the ad content.

File

src/AdsenseAdInterface.php, line 32

Class

AdsenseAdInterface
Defines an interface for the adsense ad plugins.

Namespace

Drupal\adsense

Code

public function getAdContent();