You are here

public static function MigrationFormBase::create in Migrate Tools 8

Same name and namespace in other branches
  1. 8.2 src/Form/MigrationFormBase.php \Drupal\migrate_tools\Form\MigrationFormBase::create()
  2. 8.3 src/Form/MigrationFormBase.php \Drupal\migrate_tools\Form\MigrationFormBase::create()
  3. 8.4 src/Form/MigrationFormBase.php \Drupal\migrate_tools\Form\MigrationFormBase::create()

Factory method for MigrationFormBase.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: A container interface service.

Return value

\Drupal\migrate_tools\Form\MigrationGroupFormBase

Overrides FormBase::create

File

src/Form/MigrationFormBase.php, line 54
Contains Drupal\migrate_tools\Form\MigrationFormBase.

Class

MigrationFormBase
Class MigrationFormBase.

Namespace

Drupal\migrate_tools\Form

Code

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