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

Breadcrumb

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

function Api::getSourceContext

Source context for the protocol buffer service represented by this message.

Generated from protobuf field <code>.google.protobuf.SourceContext source_context = 5;</code>

Return value

\Google\Protobuf\SourceContext|null

File

vendor/google/protobuf/src/Google/Protobuf/Api.php, line 276

Class

Api
Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which…

Namespace

Google\Protobuf

Code

public function getSourceContext() {
    return $this->source_context;
}

API Navigation

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