'type' => 'entity_test_revpub',
'label' => 'Delete test entity - revisions and publishing status',
'action_label' => 'Delete',
'confirm_form_route_name' => 'entity.entity_test_revpub.delete_multiple_form',
],
'entity_test_rev' =>
[ 'type' => 'entity_test_rev',
'label' => 'Delete test entity - revisions',
'action_label' => 'Delete',
'confirm_form_route_name' => 'entity.entity_test_rev.delete_multiple_form',
],
],
$deriver->
getDerivativeDefinitions([ 'action_label' => 'Delete',
]));
} /**
* @covers \Drupal\Core\Action\Plugin\Action\DeleteAction::execute
*/
public function testDeleteAction() { $entity = EntityTestMulRevPub::
create(['name' => 'test'
]);
$entity->
save();