You are here

memcache.module in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 modules/memcache/memcache.module

File

modules/memcache/memcache.module
View source
<?php

/**
 * Provides very limited functionality such as hook_requirements().
 * Memcache cache backend must be configured in settings.php, and memcache.module
 * is not strictly necessary to use memcache as a cache backend.
 */

/**
 * Log error.
 *
 * @param string $context
 *   Context (class and function name).
 * @param string $message
 *   Message to log.
 * @param int $level
 *   Error level.
 */
function memcache_log_warning($level, $message, $context) {
  \Drupal::logger('memcache')
    ->log($level, $message, $context);
}

Functions

Namesort descending Description
memcache_log_warning Log error.