You are here

public function DeleteMessage::executeMultiple in Message 8

Executes the plugin for an array of objects.

Parameters

array $objects: An array of entities.

Overrides ActionBase::executeMultiple

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

File

src/Plugin/Action/DeleteMessage.php, line 74

Class

DeleteMessage
Redirects to a message deletion form.

Namespace

Drupal\message\Plugin\Action

Code

public function executeMultiple(array $entities) {
  $this->tempStore
    ->set($this->currentUser
    ->id(), $entities);
}