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

Breadcrumb

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

function Option::getName

The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`.

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

Return value

string

File

vendor/google/protobuf/src/Google/Protobuf/Option.php, line 70

Class

Option
A protocol buffer option, which can be attached to a message, field, enumeration, etc.

Namespace

Google\Protobuf

Code

public function getName() {
    return $this->name;
}

API Navigation

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