You are here

public function MappingSteps::__construct in GatherContent 8.5

Same name and namespace in other branches
  1. 8.4 gathercontent_ui/src/Form/MappingEditSteps/MappingSteps.php \Drupal\gathercontent_ui\Form\MappingEditSteps\MappingSteps::__construct()

MappingSteps constructor.

Parameters

\Drupal\gathercontent\Entity\MappingInterface $mapping: Mapping object.

array $template: Template array.

File

gathercontent_ui/src/Form/MappingEditSteps/MappingSteps.php, line 68

Class

MappingSteps
Class MappingSteps.

Namespace

Drupal\gathercontent_ui\Form\MappingEditSteps

Code

public function __construct(MappingInterface $mapping, array $template) {
  $this->mapping = $mapping;
  $this->template = $template;

  /** @var \Drupal\gathercontent\MetatagQuery $metatagQuery */
  $this->metatagQuery = \Drupal::service('gathercontent.metatag');
}