You are here

public function AmpMetadataInterface::setNodeType in Accelerated Mobile Pages (AMP) 8

Apply these settings per node type.

Parameters

string $node_type_id: The identifier of the node type.

1 method overrides AmpMetadataInterface::setNodeType()
AmpMetadata::setNodeType in src/Entity/AmpMetadata.php
Apply these settings per node type.

File

src/AmpMetadataInterface.php, line 39

Class

AmpMetadataInterface
Provides an interface for defining AMP Metadata entities.

Namespace

Drupal\amp

Code

public function setNodeType($node_type_id);