function JsonapiHooks::entityBundleCreate

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

Implements hook_entity_bundle_create().

Attributes

#[Hook('entity_bundle_create')]

File

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

Class

JsonapiHooks
Hook implementations for jsonapi.

Namespace

Drupal\jsonapi\Hook

Code

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

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