You are here

public function DeleteAllTranslationsAction::execute in Lingotek Translation 3.3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
  2. 4.0.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
  3. 3.0.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
  4. 3.1.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
  5. 3.2.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
  6. 3.4.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
  7. 3.5.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
  8. 3.6.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
  9. 3.7.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
  10. 3.8.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

src/Plugin/Action/DeleteAllTranslationsAction.php, line 44

Class

DeleteAllTranslationsAction
Assigns ownership of a node to a user.

Namespace

Drupal\lingotek\Plugin\Action

Code

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