You are here

function simplifying_entity_insert in Simplifying 8

Implements hook_entity_insert().

File

./simplifying.module, line 93
Simplifying module.

Code

function simplifying_entity_insert(EntityInterface $entity) {
  \Drupal::service('simplifying.toolbar')
    ->entityInsert($entity);
}