You are here

public function AdBlockInterface::createAd in Google AdSense integration 8

Create ad object.

Return value

AdsenseAdBase The created ad.

2 methods override AdBlockInterface::createAd()
CustomSearchAdBlock::createAd in src/Plugin/Block/CustomSearchAdBlock.php
Create ad object.
ManagedAdBlock::createAd in src/Plugin/Block/ManagedAdBlock.php
Create ad object.

File

src/AdBlockInterface.php, line 16

Class

AdBlockInterface
Interface for adsense ad blocks.

Namespace

Drupal\adsense

Code

public function createAd();