Commit 2dff22ca authored by catch's avatar catch

Issue #3051932 by pameeela, larowlan, aurelianzaha: Update docs link to...

Issue #3051932 by pameeela, larowlan, aurelianzaha: Update docs link to EntityStorageInterface::delete() in core/includes/entity.inc
parent c8e85e37
......@@ -233,7 +233,8 @@ function entity_load_unchanged($entity_type, $id) {
* An array of entity IDs of the entities to delete.
*
* @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
* the entity storage's delete() method to delete multiple entities:
* the entity storage's \Drupal\Core\Entity\EntityStorageInterface::delete()
* method to delete multiple entities:
* @code
* $storage_handler = \Drupal::entityTypeManager()->getStorage($entity_type);
* $entities = $storage_handler->loadMultiple($ids);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment