You are here

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

Gets the placeholder ID.

Return value

string The placeholder ID

File

src/View/TagView.php, line 129
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 getPlaceholderId() {
  return 'js-dfp-tag-' . $this->tag
    ->id();
}