You are here

public function Server::postSave in GraphQL 8.4

@codeCoverageIgnore

Overrides EntityBase::postSave

File

src/Entity/Server.php, line 529

Class

Server
The main GraphQL configuration and request entry point.

Namespace

Drupal\graphql\Entity

Code

public function postSave(EntityStorageInterface $storage, $update = TRUE) : void {
  parent::postSave($storage, $update);
  \Drupal::service('router.builder')
    ->setRebuildNeeded();
}