function EntityFieldManager::preWarm

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/EntityFieldManager.php \Drupal\Core\Entity\EntityFieldManager::preWarm()

Build any cache item or items that this service relies on.

Overrides PreWarmableInterface::preWarm

File

core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 744

Class

EntityFieldManager
Manages the discovery of entity fields.

Namespace

Drupal\Core\Entity

Code

public function preWarm() : void {
  $this->getFieldMap();
}

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