function ContentModerationConfigureForm::create

Same name in other branches
  1. 9 core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php \Drupal\content_moderation\Form\ContentModerationConfigureForm::create()
  2. 8.9.x core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php \Drupal\content_moderation\Form\ContentModerationConfigureForm::create()
  3. 10 core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php \Drupal\content_moderation\Form\ContentModerationConfigureForm::create()

Overrides ContainerInjectionInterface::create

File

core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php, line 56

Class

ContentModerationConfigureForm
The content moderation WorkflowType configuration form.

Namespace

Drupal\content_moderation\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.