protected function initInternals()
    {
        if (null === $this->blueprintSchema) {
            $types = Grav::instance()['plugins']->formFieldTypes;

            $this->blueprintSchema = new BlueprintSchema;

            if ($types) {
                $this->blueprintSchema->setTypes($types);
            }

            $this->blueprintSchema->embed('', $this->items);
            $this->blueprintSchema->init();
            $this->defaults = null;
        }
    }
protected function initInternals()
    {
        if (null === $this->blueprintSchema) {
            $types = Grav::instance()['plugins']->formFieldTypes;

            $this->blueprintSchema = new BlueprintSchema;

            if ($types) {
                $this->blueprintSchema->setTypes($types);
            }

            $this->blueprintSchema->embed('', $this->items);
            $this->blueprintSchema->init();
            $this->defaults = null;
        }
    }
protected function initInternals ( ) { if ( null === $ this -> blueprintSchema ) { $ types = Grav :: instance ( ) [ 'plugins' ] -> formFieldTypes ; $ this -> blueprintSchema = new BlueprintSchema ; if ( $ types ) { $ this -> blueprintSchema -> setTypes ( $ types ) ; } $ this -> blueprintSchema -> embed ( '' , $ this -> items ) ; $ this -> blueprintSchema -> init ( ) ; $ this -> defaults = null ; } }
Initialize validator.
Initialize validator .