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

Breadcrumb

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

function SchemaStorageInterface::addSchema

Adds schema with given identifier

Parameters

string $id:

object $schema:

1 method overrides SchemaStorageInterface::addSchema()
SchemaStorage::addSchema in vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php
Adds schema with given identifier

File

vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorageInterface.php, line 13

Class

SchemaStorageInterface

Namespace

JsonSchema

Code

public function addSchema($id, $schema = null);

API Navigation

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