You are here

public static function EntityModerationForm::create in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 src/Form/EntityModerationForm.php \Drupal\workbench_moderation\Form\EntityModerationForm::create()

@inheritDoc

Overrides FormBase::create

File

src/Form/EntityModerationForm.php, line 42

Class

EntityModerationForm

Namespace

Drupal\workbench_moderation\Form

Code

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