You are here

public function MediaDevelGenerate::batchMediaKill in Media entity 8

Batch version of mediaKill().

Parameters

array $vars: The input values from the settings form.

array $context: Batch job context.

File

src/Plugin/DevelGenerate/MediaDevelGenerate.php, line 341

Class

MediaDevelGenerate
Provides a MediaDevelGenerate plugin.

Namespace

Drupal\media_entity\Plugin\DevelGenerate

Code

public function batchMediaKill($vars, &$context) {
  $this
    ->mediaKill($context['results']);
}