You are here

public function AmpMetadata::setGlobal in Accelerated Mobile Pages (AMP) 8

Apply these settings globally.

Overrides AmpMetadataInterface::setGlobal

File

src/Entity/AmpMetadata.php, line 168

Class

AmpMetadata
Defines the AMP Metadata entity.

Namespace

Drupal\amp\Entity

Code

public function setGlobal() {
  $this->globalToggle = TRUE;
  $this->nodeTypeId = NULL;
}