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

Breadcrumb

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

function Location::setLeadingDetachedComments

Generated from protobuf field <code>repeated string leading_detached_comments = 6;</code>

Parameters

array<string>|\Google\Protobuf\Internal\RepeatedField $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo/Location.php, line 436

Class

Location
Generated from protobuf message <code>google.protobuf.SourceCodeInfo.Location</code>

Namespace

Google\Protobuf\Internal\SourceCodeInfo

Code

public function setLeadingDetachedComments($var) {
    $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
    $this->leading_detached_comments = $arr;
    return $this;
}

API Navigation

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