public function Toolbar::entityDelete in Simplifying 8
Entity delete actions.
File
- src/
Services/ Toolbar.php, line 424
Class
- Toolbar
- Class Toolbar.
Namespace
Drupal\simplifying\ServicesCode
public function entityDelete($entity_type, $bundle, $entity_id) {
$query = \Drupal::database()
->delete('simplifying_entity_unread');
$query
->condition('entity_type', $entity_type);
$query
->condition('bundle', $bundle);
$query
->condition('entity_id', $entity_id);
$query
->execute();
}