public function TagView::getAdSenseColors in Doubleclick for Publishers (DFP) 8
Gets the colors used when AdSense ads are used for backfill.
Return value
string[] An array keyed by setting with hex colors as values.
File
- src/
View/ TagView.php, line 381 - Contains \Drupal\dfp\View\TagView.
Class
- TagView
- A value object to combine a DFP tag with global settings for display.
Namespace
Drupal\dfp\ViewCode
public function getAdSenseColors() {
return array_filter($this->tag
->adsenseColors());
}