function JsonapiHooks::entityBundleDelete

Same name and namespace in other branches
  1. 11.x core/modules/jsonapi/src/Hook/JsonapiHooks.php \Drupal\jsonapi\Hook\JsonapiHooks::entityBundleDelete()

Implements hook_entity_bundle_delete().

Attributes

#[Hook('entity_bundle_delete')]

File

core/modules/jsonapi/src/Hook/JsonapiHooks.php, line 72

Class

JsonapiHooks
Hook implementations for jsonapi.

Namespace

Drupal\jsonapi\Hook

Code

public function entityBundleDelete() : void {
  Routes::rebuild();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.