None.php in Views (for Drupal 7) 8.3
Definition of Drupal\views\Plugin\views\cache\None.
Namespace
Drupal\views\Plugin\views\cacheFile
lib/Drupal/views/Plugin/views/cache/None.phpView source
<?php
/**
* @file
* Definition of Drupal\views\Plugin\views\cache\None.
*/
namespace Drupal\views\Plugin\views\cache;
use Drupal\Core\Annotation\Plugin;
use Drupal\Core\Annotation\Translation;
/**
* Caching plugin that provides no caching at all.
*
* @ingroup views_cache_plugins
*
* @Plugin(
* id = "none",
* title = @Translation("None"),
* help = @Translation("No caching of Views data.")
* )
*/
class None extends CachePluginBase {
function cache_start() {
/* do nothing */
}
public function summaryTitle() {
return t('None');
}
function cache_get($type) {
return FALSE;
}
function cache_set($type) {
}
}