fetchUserNodeTypes() protected method

Fetch a user-defined node-type definition.
protected fetchUserNodeTypes ( ) : array
return array
 /**
  * {@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;
 }