Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website] / web / modules / contrib / entity / src / Plugin / Action / DeleteAction.php
1 <?php
2
3 namespace Drupal\entity\Plugin\Action;
4
5 use Drupal\Core\Action\Plugin\Action\DeleteAction as CoreDeleteAction;
6
7 @trigger_error('\Drupal\entity\Plugin\Action\DeleteAction has been deprecated in favor of \Drupal\Core\Action\Plugin\Action\DeleteAction. Use that instead.');
8
9 /**
10  * Redirects to an entity deletion form.
11  *
12  * @deprecated Use "entity:delete_action" instead.
13  *
14  * @Action(
15  *   id = "entity_delete_action",
16  *   label = @Translation("Delete entity"),
17  *   deriver = "Drupal\entity\Plugin\Action\Derivative\DeleteActionDeriver",
18  * )
19  */
20 class DeleteAction extends CoreDeleteAction {}