You are here

public function TagView::getSize in Doubleclick for Publishers (DFP) 8

Gets the ad size or sizes.

Return value

string The ad size or sizes. Example: 300x600,300x250.

File

src/View/TagView.php, line 312
Contains \Drupal\dfp\View\TagView.

Class

TagView
A value object to combine a DFP tag with global settings for display.

Namespace

Drupal\dfp\View

Code

public function getSize() {
  return self::formatSize($this->tag
    ->size());
}