/** * {@inheritDoc} */ protected function fetchUserNodeTypes() { $cacheKey = 'node_types'; $cacheKey = $this->sanitizeKey($cacheKey); if (!$this->inTransaction && ($result = $this->caches['meta']->fetch($cacheKey))) { return $result; } $result = parent::fetchUserNodeTypes(); if (!$this->inTransaction) { $this->caches['meta']->save($cacheKey, $result); } return $result; }