You are here

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

Check if the settings apply globally.

Return value

boolean TRUE if the settings apply globally.

Overrides AmpMetadataInterface::isGlobal

File

src/Entity/AmpMetadata.php, line 161

Class

AmpMetadata
Defines the AMP Metadata entity.

Namespace

Drupal\amp\Entity

Code

public function isGlobal() {
  return $this->globalToggle;
}