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