You are here

public function Tag::slot 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.

Overrides TagInterface::slot

File

src/Entity/Tag.php, line 154
Contains \Drupal\dfp\Entity\Tag.

Class

Tag
Defines the DFP Ad tag configuration entity class.

Namespace

Drupal\dfp\Entity

Code

public function slot() {
  return $this
    ->label();
}