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

Breadcrumb

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

function Factory::getConfig

Get checkMode option

Parameters

int $options Options to get, if null then return entire bitmask:

Return value

int

File

vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php, line 125

Class

Factory
Factory for centralize constraint initialization.

Namespace

JsonSchema\Constraints

Code

public function getConfig($options = null) {
    if ($options === null) {
        return $this->checkMode;
    }
    return $this->checkMode & $options;
}

API Navigation

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