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

Breadcrumb

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

function Annotation::setSourceFile

Identifies the filesystem path to the original source .proto.

Generated from protobuf field <code>optional string source_file = 2;</code>

Parameters

string $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php, line 133

Class

Annotation
Generated from protobuf message <code>google.protobuf.GeneratedCodeInfo.Annotation</code>

Namespace

Google\Protobuf\Internal\GeneratedCodeInfo

Code

public function setSourceFile($var) {
    GPBUtil::checkString($var, True);
    $this->source_file = $var;
    return $this;
}

API Navigation

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