function rng_entity_predelete in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 rng.module \rng_entity_predelete()
- 8 rng.module \rng_entity_predelete()
Implements hook_entity_predelete().
File
- ./
rng.module, line 102
Code
function rng_entity_predelete(EntityInterface $entity) {
/** @var \Drupal\rng\RngEntityModel $rng_model */
$rng_model = \Drupal::service('rng.entity.model');
$rng_model
->hook_entity_predelete($entity);
}