You are here

public static function PardotContactFormMapFormBase::create in Pardot Integration 8

Factory method for PardotCampaignFormBase.

Overrides FormBase::create

File

src/Form/PardotContactFormMapFormBase.php, line 58

Class

PardotContactFormMapFormBase
Class PardotContactFormMapFormBase.

Namespace

Drupal\pardot\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('entity.query'), $container
    ->get('entity_type.manager'), $container
    ->get('entity.form_builder'), $container
    ->get('entity_field.manager'));
}