function SearchPage::postSave

Same name in other branches
  1. 8.9.x core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::postSave()
  2. 10 core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::postSave()
  3. 11.x core/modules/search/src/Entity/SearchPage.php \Drupal\search\Entity\SearchPage::postSave()

Overrides EntityBase::postSave

File

core/modules/search/src/Entity/SearchPage.php, line 193

Class

SearchPage
Defines a configured search page.

Namespace

Drupal\search\Entity

Code

public function postSave(EntityStorageInterface $storage, $update = TRUE) {
    parent::postSave($storage, $update);
    $this->routeBuilder()
        ->setRebuildNeeded();
}

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