Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SchemaStorage.php

function SchemaStorage::getSchema

Overrides SchemaStorageInterface::getSchema

1 call to SchemaStorage::getSchema()
SchemaStorage::resolveRef in vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php
Returns schema for given reference with all sub-references resolved

File

vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php, line 112

Class

SchemaStorage

Namespace

JsonSchema

Code

public function getSchema($id) {
    if (!array_key_exists($id, $this->schemas)) {
        $this->addSchema($id);
    }
    return $this->schemas[$id];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal