protected function EntityReplicateAction::doExecute in Replicate UI 8
Deletes the Entity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity to be deleted.
File
- src/
Plugin/ RulesAction/ EntityReplicateAction.php, line 64
Class
- EntityReplicateAction
- Provides a 'Replicate entity' action.
Namespace
Drupal\replicate_ui\Plugin\RulesActionCode
protected function doExecute(EntityInterface $entity) {
$this->replicator
->replicateEntity($entity);
}