interface AdBlockInterface in Google AdSense integration 8
Interface for adsense ad blocks.
Hierarchy
- interface \Drupal\adsense\AdBlockInterface
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\adsenseView source
interface AdBlockInterface {
/**
* Create ad object.
*
* @return AdsenseAdBase
* The created ad.
*/
public function createAd();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AdBlockInterface:: |
public | function | Create ad object. | 2 |