function PreWarmablePluginManagerTrait::preWarm

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

Implements \Drupal\Core\PreWarm\PreWarmableInterface.

File

core/lib/Drupal/Core/Plugin/PreWarmablePluginManagerTrait.php, line 20

Class

PreWarmablePluginManagerTrait
Provides a trait for Drupal\Core\PreWarm\PreWarmableInterface.

Namespace

Drupal\Core\Plugin

Code

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

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