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

Breadcrumb

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

function NamePart::setNamePart

Generated from protobuf field <code>required string name_part = 1;</code>

Parameters

string $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php, line 72

Class

NamePart
The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ ["foo", false],…

Namespace

Google\Protobuf\Internal\UninterpretedOption

Code

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

API Navigation

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