function MediaDeleteMultipleConfirmForm::create

Overrides FormBase::create

File

core/modules/media/src/Form/MediaDeleteMultipleConfirmForm.php, line 64

Class

MediaDeleteMultipleConfirmForm
Provides a confirmation form to delete multiple media items at once.

Namespace

Drupal\media\Form

Code

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

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