You are here

public function AmpMetadataForm::setContainer in Accelerated Mobile Pages (AMP) 8

Sets the Container.

Parameters

ContainerInterface|null $container A ContainerInterface instance or null:

File

src/Form/AmpMetadataForm.php, line 86

Class

AmpMetadataForm
Class AmpMetadataForm.

Namespace

Drupal\amp\Form

Code

public function setContainer(ContainerInterface $container = null) {
  $this->container = $container;
}