public function WarmerPluginBase::markAsEnqueued in Warmer 8
Same name and namespace in other branches
- 2.x src/Plugin/WarmerPluginBase.php \Drupal\warmer\Plugin\WarmerPluginBase::markAsEnqueued()
Marks a warmer as enqueued.
Return value
bool TRUE if the warmer is active. FALSE otherwise.
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());
}