You are here

public function DeleteMessage::execute in Message 8

Executes the plugin.

Overrides ExecutableInterface::execute

File

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

Class

DeleteMessage
Redirects to a message deletion form.

Namespace

Drupal\message\Plugin\Action

Code

public function execute($object = NULL) {
  $this
    ->executeMultiple([
    $object,
  ]);
}