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

Breadcrumb

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

function SourceContext::initOnce

3 calls to SourceContext::initOnce()
Api::initOnce in vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php
SourceContext::__construct in vendor/google/protobuf/src/Google/Protobuf/SourceContext.php
Constructor.
Type::initOnce in vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Type.php

File

vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php, line 11

Class

SourceContext

Namespace

GPBMetadata\Google\Protobuf

Code

public static function initOnce() {
    $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
    if (static::$is_initialized == true) {
        return;
    }
    $pool->internalAddGeneratedFile('
�
$google/protobuf/source_context.protogoogle.protobuf""

SourceContext
	file_name (	B�
com.google.protobufBSourceContextProtoPZ6google.golang.org/protobuf/types/known/sourcecontextpb�GPB�Google.Protobuf.WellKnownTypesbproto3', true);
    static::$is_initialized = true;
}

API Navigation

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