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

Breadcrumb

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

function NamePart::getNamePart

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

Return value

string

File

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

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 getNamePart() {
    return isset($this->name_part) ? $this->name_part : '';
}

API Navigation

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