You are here

public static function NodeRevisionsByBundleForm::create in Node Revisions Autoclean 8

Creates.

Parameters

Symfony\Component\DependencyInjection\ContainerInterface $container: ContainerInterface.

Return value

static

Overrides FormBase::create

File

src/Form/NodeRevisionsByBundleForm.php, line 50

Class

NodeRevisionsByBundleForm
Class NodeRevisionsByBundleForm.

Namespace

Drupal\node_revisions_autoclean\Form

Code

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