public function DeleteAllTranslationsAction::execute in Lingotek Translation 3.6.x
Same name and namespace in other branches
- 8.2 src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
- 4.0.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
- 3.0.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
- 3.1.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
- 3.2.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
- 3.3.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
- 3.4.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
- 3.5.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
- 3.7.x src/Plugin/Action/DeleteAllTranslationsAction.php \Drupal\lingotek\Plugin\Action\DeleteAllTranslationsAction::execute()
- 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\ActionCode
public function execute($entity = NULL) {
$this
->executeMultiple([
$entity,
]);
}