You are here

public function AmpMetadataDeleteForm::__construct in Accelerated Mobile Pages (AMP) 8

Constructs a AmpMetadataDeleteForm object.

Parameters

\Drupal\Core\Cache\CacheTagsInvalidatorInterface $tag_invalidate: The cache tags invalidator.

File

src/Form/AmpMetadataDeleteForm.php, line 37

Class

AmpMetadataDeleteForm
Builds the form to delete AMP Metadata entities.

Namespace

Drupal\amp\Form

Code

public function __construct(CacheTagsInvalidatorInterface $tag_invalidate) {
  $this->tagInvalidate = $tag_invalidate;
}