You are here

public function DeleteProfile::execute in Profile 2 8

Executes the plugin.

Overrides ExecutableInterface::execute

File

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

Class

DeleteProfile
Redirects to a profile deletion form.

Namespace

Drupal\profile\Plugin\Action

Code

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