You are here

public static function InsertViewDialog::create in Advanced Insert View 8

Same name and namespace in other branches
  1. 2.0.x src/Form/InsertViewDialog.php \Drupal\insert_view_adv\Form\InsertViewDialog::create()

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

Return value

\Drupal\Core\Form\FormBase|\Drupal\insert_view_adv\Form\InsertViewDialog

Overrides FormBase::create

File

src/Form/InsertViewDialog.php, line 51

Class

InsertViewDialog
Class InsertViewDialog

Namespace

Drupal\insert_view_adv\Form

Code

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