function 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 718

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.