You are here

public function DeleteProfile::executeMultiple in Profile 2 8

Executes the plugin for an array of objects.

Parameters

array $objects: An array of entities.

Overrides ActionBase::executeMultiple

1 call to DeleteProfile::executeMultiple()
DeleteProfile::execute in src/Plugin/Action/DeleteProfile.php
Executes the plugin.

File

src/Plugin/Action/DeleteProfile.php, line 63
Contains \Drupal\node\Plugin\Action\DeleteNode.

Class

DeleteProfile
Redirects to a profile deletion form.

Namespace

Drupal\profile\Plugin\Action

Code

public function executeMultiple(array $entities) {
  $this->privateTempStore
    ->set(\Drupal::currentUser()
    ->id(), $entities);
}