You are here

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

Gets the ad slot.

Return value

string The ad slot. This is the same as the label for the configuration entity.

File

src/View/TagView.php, line 177
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 getSlot() {
  return $this->tag
    ->slot();
}