You are here

public static function OrderForm::create in Frequently Asked Questions 8

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

Return value

static

Overrides ConfigFormBase::create

File

src/Form/OrderForm.php, line 44

Class

OrderForm
Form for reordering the FAQ-s.

Namespace

Drupal\faq\Form

Code

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