public function WarmerPluginBase::markAsEnqueued in Warmer 2.x
Same name and namespace in other branches
- 8 src/Plugin/WarmerPluginBase.php \Drupal\warmer\Plugin\WarmerPluginBase::markAsEnqueued()
 
Marks a warmer as enqueued.
Overrides WarmerInterface::markAsEnqueued
File
- src/
Plugin/ WarmerPluginBase.php, line 191  
Class
- WarmerPluginBase
 - Base class for warmer plugins that implement settings forms.
 
Namespace
Drupal\warmer\PluginCode
public function markAsEnqueued() {
  $configuration = $this
    ->getConfiguration();
  $this->state
    ->set('previous_enqueue_time:' . $configuration['id'], $this->time
    ->getRequestTime());
}