public static function JsonapiResourceConfig::postDelete in JSON:API Extras 8.2
Same name and namespace in other branches
- 8.3 src/Entity/JsonapiResourceConfig.php \Drupal\jsonapi_extras\Entity\JsonapiResourceConfig::postDelete()
Acts on deleted entities before the delete hook is invoked.
Used after the entities are deleted but before invoking the delete hook.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.
\Drupal\Core\Entity\EntityInterface[] $entities: An array of entities.
Overrides EntityBase::postDelete
File
- src/
Entity/ JsonapiResourceConfig.php, line 62
Class
- JsonapiResourceConfig
- Defines the JSON API Resource Config entity.
Namespace
Drupal\jsonapi_extras\EntityCode
public static function postDelete(EntityStorageInterface $storage, array $entities) {
parent::postDelete($storage, $entities);
static::rebuildRoutes();
}