Mensaje de error

  • Warning: count(): Parameter must be an array or an object that implements Countable en _api_make_match_member_link() (línea 1230 de /home/u295177857/domains/app01.inkastattoonewjersey.com/public_html/profiles/drupalapi/modules/contrib/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable en _api_make_match_member_link() (línea 1230 de /home/u295177857/domains/app01.inkastattoonewjersey.com/public_html/profiles/drupalapi/modules/contrib/api/api.formatting.inc).

public function ThemeRegistry::resolveCacheMiss

Resolves a cache miss.

When an offset is not found in the object, this is treated as a cache miss. This method allows classes implementing the interface to look up the actual value and allow it to be cached.

Parameters

$offset: The offset that was requested.

Return value

The value of the offset, or NULL if no value was found.

Overrides DrupalCacheArray::resolveCacheMiss

2 calls to ThemeRegistry::resolveCacheMiss()
ThemeRegistry::offsetGet in drupal-7.x/includes/theme.inc
Implements ArrayAccess::offsetGet().
ThemeRegistry::offsetGet in drupal-7.x/includes/theme.inc
Implements ArrayAccess::offsetGet().

Archivo

drupal-7.x/includes/theme.inc, line 436
The theme system, which controls the output of Drupal.

Class

ThemeRegistry
Builds the run-time theme registry.

Código

public function resolveCacheMiss($offset) {
  if (!isset($this->completeRegistry)) {
    $this->completeRegistry = theme_get_registry();
  }
  $this->storage[$offset] = $this->completeRegistry[$offset];
  if ($this->persistable) {
    $this->persist($offset);
  }
  return $this->storage[$offset];
}